[
https://issues.apache.org/jira/browse/TINKERPOP-1756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stephen mallette closed TINKERPOP-1756.
---------------------------------------
Resolution: Done
Assignee: stephen mallette
Fix Version/s: 3.3.1
3.2.7
> Provide a way to easily mock a RemoteConnection for tests
> ---------------------------------------------------------
>
> Key: TINKERPOP-1756
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1756
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.2.4
> Reporter: Anish Doshi
> Assignee: stephen mallette
> Fix For: 3.2.7, 3.3.1
>
>
> {{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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)