Mockito Disregard Parameters

Viewed 2931

Is there a way to get a mocked class to return some object no matter what arguments the function is called with?

For example, if one of my parameters' types did not have the .equals() method properly implemented.

2 Answers
Related