Record new expectation that will exactly match method called in methodCall argument
Returns an object that allows you to set various properties of the expectation, such as return value, number of repetitions or matching options.
ditto
Mocker mocker = new Mocker; Object obj = mocker.mock!(Object); mocker.expectT!(obj, "toString")().returns("hello?");
See Implementation
Record new expectation that will exactly match method called in methodCall argument
Returns an object that allows you to set various properties of the expectation, such as return value, number of repetitions or matching options.