Home
last modified time | relevance | path

Searched refs:differentMethod (Results 1 – 20 of 20) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/stubbing/
DInvocationContainerImplStubbingTest.java68 Invocation differentMethod = new InvocationBuilder().differentMethod().toInvocation(); in should_get_results_for_methods() local
69 … invocationContainerImpl.setInvocationForPotentialStubbing(new InvocationMatcher(differentMethod)); in should_get_results_for_methods()
75 invocationContainerImpl.answerTo(differentMethod); in should_get_results_for_methods()
85 Invocation differentMethod = new InvocationBuilder().differentMethod().toInvocation(); in should_get_results_for_methods_stub_only() local
86 …ionContainerImplStubOnly.setInvocationForPotentialStubbing(new InvocationMatcher(differentMethod)); in should_get_results_for_methods_stub_only()
92 invocationContainerImplStubOnly.answerTo(differentMethod); in should_get_results_for_methods_stub_only()
/external/mockito/src/test/java/org/mockitousage/verification/
DVerificationInOrderTest.java56 mockTwo.differentMethod(); in shouldMessagesPointToProperMethod()
60 inOrder.verify(mockOne, atLeastOnce()).differentMethod(); in shouldMessagesPointToProperMethod()
71 mockTwo.differentMethod(); in shouldVerifyInOrderWhenTwoChunksAreEqual()
76 inOrder.verify(mockTwo).differentMethod(); in shouldVerifyInOrderWhenTwoChunksAreEqual()
88 mockTwo.differentMethod(); in shouldVerifyInOrderUsingMatcher()
95 inOrder.verify(mockTwo).differentMethod(); in shouldVerifyInOrderUsingMatcher()
DDescriptiveMessagesOnVerificationInOrderErrorsTest.java79 inOrder.verify(one).differentMethod(); in shouldPrintVerificationInOrderErrorAndShowWantedOnly()
DSelectedMocksInOrderVerificationTest.java86 inOrder.verify(mockOne).differentMethod(); in shouldFailVerificationForMockOne()
DRelaxedVerificationInOrderTest.java187 inOrder.verify(mockTwo, atLeastOnce()).differentMethod(); in shouldFailOnWrongMethodCalledOnMockTwo()
/external/mockito/src/test/java/org/mockitousage/strictness/
DStrictnessPerStubbingTest.java45 lenient().when(mock.differentMethod("2")).thenReturn("2"); in potential_stubbing_problem()
48 mock.differentMethod("200"); in potential_stubbing_problem()
219 lenient().when(mock.differentMethod("2")).thenReturn("2"); in unnecessary_stubbing()
237 lenient().doReturn("2").when(mock).differentMethod("2"); in unnecessary_stubbing_with_doReturn()
247 lenient().when(mock.differentMethod("2")).thenReturn("2"); in verify_no_more_invocations()
251 mock.differentMethod("200"); // <- different arg in verify_no_more_invocations()
DStrictnessPerStubbingWithRunnerTest.java29 lenient().when(mock.differentMethod("2")).thenReturn("2"); in potential_stubbing_problem()
32 mock.differentMethod("200"); in potential_stubbing_problem()
49 lenient().when(mock.differentMethod("2")).thenReturn("2"); in unnecessary_stubbing()
DStrictnessWithRulesTest.java31 lenient().when(mock.differentMethod("2")).thenReturn("2"); in potential_stubbing_problem()
34 mock.differentMethod("200"); in potential_stubbing_problem()
51 lenient().when(mock.differentMethod("2")).thenReturn("2"); in unnecessary_stubbing()
/external/mockito/src/test/java/org/mockito/internal/verification/checkers/
DAtLeastXNumberOfInvocationsCheckerTest.java32 Invocation invocationTwo = new InvocationBuilder().differentMethod().toInvocation(); in shouldMarkActualInvocationsAsVerifiedInOrder()
46 Invocation invocationTwo = new InvocationBuilder().differentMethod().toInvocation(); in shouldReportTooLittleInvocationsInOrder()
63 Invocation invocationTwo = new InvocationBuilder().differentMethod().toInvocation(); in shouldMarkActualInvocationsAsVerified()
76 Invocation invocationTwo = new InvocationBuilder().differentMethod().toInvocation(); in shouldReportTooLittleInvocations()
DMissingInvocationCheckerTest.java80 return new InvocationBuilder().mock(mock).differentMethod(); in buildDifferentMethod()
DMissingInvocationInOrderCheckerTest.java117 return new InvocationBuilder().mock(mock).differentMethod(); in buildDifferentMethod()
/external/mockito/src/test/java/org/mockito/internal/exceptions/util/
DScenarioPrinterTest.java26 Invocation unverified = new InvocationBuilder().differentMethod().toInvocation(); in shouldPrintInvocations()
40 Invocation unverified = new InvocationBuilder().differentMethod().toInvocation(); in shouldNotPrintInvocationsWhenSingleUnwanted()
/external/mockito/src/test/java/org/mockitousage/
DIMethods.java109 String differentMethod(); in differentMethod() method
111 String differentMethod(String argument); in differentMethod() method
DMethodsImpl.java204 public String differentMethod() { in differentMethod() method in MethodsImpl
208 public String differentMethod(String argument) { in differentMethod() method in MethodsImpl
/external/mockito/src/test/java/org/mockito/internal/invocation/
DInvocationsFinderTest.java45 …differentMethodInvocation = new InvocationBuilder().mock(mock).differentMethod().seq(3).toInvocati… in setup()
123 …Invocation overloadedDifferentMethod = new InvocationBuilder().differentMethod().arg("test").toInv… in shouldFindInvocationWithTheSameMethod()
DInvocationBuilder.java119 public InvocationBuilder differentMethod() { in differentMethod() method in InvocationBuilder
DInvocationMatcherTest.java80 Invocation different = new InvocationBuilder().mock(mock).differentMethod().toInvocation(); in should_know_if_is_similar_to()
/external/mockito/src/test/java/org/mockitousage/serialization/
DParallelSerializationTest.java75 case 5 : iMethods.differentMethod(); break; in randomCallOn()
/external/mockito/src/test/java/org/mockito/internal/debugging/
DWarningsFinderTest.java42 …InvocationMatcher unstubbedInvocation = new InvocationBuilder().differentMethod().toInvocationMatc… in shouldPrintUnstubbedInvocation()
/external/mockito/src/test/java/org/mockitousage/internal/junit/
DUnusedStubbingsFinderTest.java111 lenient().when(mock2.differentMethod()).thenReturn("4"); //will not be included in results in some_unused_stubbings_by_location()