ExpectationSetup.passThrough

Instead of returning or throwing a given value, pass the call through to the mocked type object. For mock***PassTo(obj) obj has to be valid for this to work.

This is useful for example for enabling use of mock object in hashmaps by enabling toHash and opEquals of your class.

class ExpectationSetup
passThrough
(
)

Meta