You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 13, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 13, 2026. It is now read-only.
Difficult to mock when unit testing [JIRA: CLIENTS-520] #526
Right now, none of the API classes implement equals, hashCode or toString() which makes mocking and comparing them to mocked copies difficult. Would you accept a pull request to implement these methods in at least RiakCommand but others may be required?
See also #557, which in the same spirit adds equals(), hashCode() and toString() methods to RiakObject and dependent classes. This is useful when mocking out RiakClient.
Right now, none of the API classes implement
equals,hashCodeortoString()which makes mocking and comparing them to mocked copies difficult. Would you accept a pull request to implement these methods in at leastRiakCommandbut others may be required?