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

Provide a way to easily mock a RemoteConnection for tests

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.2.4
    • Fix Version/s: 3.2.7, 3.3.1
    • Component/s: process
    • Labels:
      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

              • Assignee:
                spmallette stephen mallette
                Reporter:
                anishdoshi Anish Doshi
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: