Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1756

Provide a way to easily mock a RemoteConnection for tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • 3.2.4
    • 3.2.7, 3.3.1
    • process
    • None

    Description

      org.apache.tinkerpop.gremlin.driver.Cluster is currently a final class. Which means that every time I need to mock this class, I cannot. I have to create a separate object and mock that object instead of mocking Cluster.

      Is there a chance that Cluster can be changed to an interface, or at least not have as a final class?

      Thanks.

      Attachments

        Issue Links

          Activity

            People

              spmallette Stephen Mallette
              anishdoshi Anish Doshi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: