Searched refs:thenCallRealMethod (Results 1 – 8 of 8) sorted by relevance
40 when(mock.callInternalMethod()).thenCallRealMethod(); in shouldAllowCallingInternalMethod()47 when(mock.getValue()).thenCallRealMethod(); in shouldReturnRealValue()72 when(mock.getValue()).thenCallRealMethod(); in shouldNotCallRealMethodWhenStubbedLater()
38 when(list.get(0)).thenCallRealMethod(); in shouldFailFastWhenCallingRealMethodOnInterface()80 when(type.getMethod("foo").invoke(object)).thenCallRealMethod(); in shouldAllowDelegatingToDefaultMethod()
26 when(foo.blah(anyString(), anyString())).thenCallRealMethod(); in shouldNotThrowAnyException()
180 OngoingStubbing<T> thenCallRealMethod(); in thenCallRealMethod() method
67 public OngoingStubbing<T> thenCallRealMethod() { in thenCallRealMethod() method in BaseStubbing
184 return new BDDOngoingStubbingImpl<T>(mockitoOngoingStubbing.thenCallRealMethod()); in willCallRealMethod()
284 when(anyMock.matches(anyObject())).thenCallRealMethod(); in should_serialize_real_partial_mock()
309 when(mock.matches(anyObject())).thenCallRealMethod(); in should_serialize_real_partial_mock()