Searched refs:CallsRealMethods (Results 1 – 6 of 6) sorted by relevance
30 …assertThat(new CallsRealMethods().answer(abstractMethod)).isEqualTo(RETURNS_DEFAULTS.answer(abstra… in should_delegate_to_returns_default_when_abstract_method()39 new CallsRealMethods().validateFor(invocationOnInterface); in should_fail_when_calling_real_method_on_interface()52 new CallsRealMethods().validateFor(invocationOnClass); in should_be_OK_when_calling_real_method_on_concrete_class()
7 import org.mockito.internal.stubbing.answers.CallsRealMethods;72 CALLS_REAL_METHODS(new CallsRealMethods()),
11 import org.mockito.internal.stubbing.answers.CallsRealMethods;80 return thenAnswer(new CallsRealMethods()); in thenCallRealMethod()
7 import org.mockito.internal.stubbing.answers.CallsRealMethods;130 answers.add(new CallsRealMethods()); in doCallRealMethod()
36 public class CallsRealMethods implements Answer<Object>, ValidableAnswer, Serializable { class
13 import org.mockito.internal.stubbing.answers.CallsRealMethods;180 mockSettings.defaultAnswer(new CallsRealMethods()); in settingsWithSuperCall()