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

Provide a way to easily mock a RemoteConnection for tests

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment