Home
last modified time | relevance | path

Searched refs:getLastInvocation (Results 1 – 10 of 10) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/
DDoesNothingTest.java10 import static org.mockitoutil.TestBase.getLastInvocation;
30 invocation_Void = getLastInvocation(); in init()
33 invocation_void = getLastInvocation(); in init()
36 invocation_String = getLastInvocation(); in init()
DInvocationInfoTest.java16 import static org.mockitoutil.TestBase.getLastInvocation;
80 InvocationInfo voidMethod = new InvocationInfo(getLastInvocation()); in isVoid_invocationOnVoidMethod_returnTrue()
89 InvocationInfo voidRetuningMethod = new InvocationInfo(getLastInvocation()); in isVoid_invocationOnVoidReturningMethod_returnTrue()
98 InvocationInfo stringReturningMethod = new InvocationInfo(getLastInvocation()); in isVoid_invocationNonVoidMethod_returnFalse()
DCallsRealMethodsTest.java50 Invocation invocationOnClass = new MockitoCore().getLastInvocation(); in should_be_OK_when_calling_real_method_on_concrete_class()
/external/mockito/src/test/java/org/mockito/internal/handler/
DMockHandlerFactoryTest.java36 Invocation invocation = super.getLastInvocation(); in handle_result_must_not_be_null_for_primitives()
54 Invocation invocation = super.getLastInvocation(); in valid_handle_result_is_permitted()
/external/mockito/src/test/java/org/mockito/internal/verification/
DSmartPrinterTest.java26 multi = new InvocationMatcher(getLastInvocation()); in setup()
29 shortie = new InvocationMatcher(getLastInvocation()); in setup()
/external/mockito/src/test/java/org/mockito/internal/stubbing/defaultanswers/
DReturnsEmptyValuesTest.java68 Invocation compareTo = this.getLastInvocation(); in should_return_non_zero_for_compareTo_method()
83 Invocation compareTo = this.getLastInvocation(); in should_return_zero_if_mock_is_compared_to_itself()
121 Invocation findAny = this.getLastInvocation(); in verify_empty_Optional_is_returned()
/external/mockito/src/test/java/org/mockito/internal/invocation/
DInvocationMatcherTest.java139 Invocation invocation = getLastInvocation(); in should_match_varargs_using_any_varargs()
153 Invocation invocation = getLastInvocation(); in should_capture_varargs_as_vararg()
168 Invocation invocation = getLastInvocation(); in should_capture_arguments_when_args_count_does_NOT_match()
DMatcherApplicationStrategyTest.java216 return getLastInvocation(); in mixedVarargs()
221 return getLastInvocation(); in varargs()
/external/mockito/src/test/java/org/mockitoutil/
DTestBase.java72 public static Invocation getLastInvocation() {
73 return new MockitoCore().getLastInvocation();
/external/mockito/src/main/java/org/mockito/internal/
DMockitoCore.java193 public Invocation getLastInvocation() { in getLastInvocation() method in MockitoCore