Home
last modified time | relevance | path

Searched refs:mockThree (Results 1 – 6 of 6) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/verification/
DVerificationInOrderMixedWithOrdiraryVerificationTest.java24 private IMethods mockThree; field in VerificationInOrderMixedWithOrdiraryVerificationTest
31 mockThree = mock(IMethods.class); in setUp()
36 mockThree.simpleMethod(3); in setUp()
37 mockThree.simpleMethod(4); in setUp()
39 inOrder = inOrder(mockOne, mockThree); in setUp()
45 inOrder.verify(mockThree).simpleMethod(3); in shouldMixVerificationInOrderAndOrdinaryVerification()
46 inOrder.verify(mockThree).simpleMethod(4); in shouldMixVerificationInOrderAndOrdinaryVerification()
49 verifyNoMoreInteractions(mockOne, mockTwo, mockThree); in shouldMixVerificationInOrderAndOrdinaryVerification()
56 verify(mockThree).simpleMethod(3); in shouldAllowOrdinarilyVerifyingMockPassedToInOrderObject()
57 verify(mockThree).simpleMethod(4); in shouldAllowOrdinarilyVerifyingMockPassedToInOrderObject()
[all …]
DSelectedMocksInOrderVerificationTest.java23 private IMethods mockThree; field in SelectedMocksInOrderVerificationTest
29 mockThree = mock(IMethods.class); in setUp()
34 mockThree.simpleMethod(3); in setUp()
41 InOrder inOrder = inOrder(mockOne, mockTwo, mockThree); in shouldVerifyAllInvocationsInOrder()
44 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyAllInvocationsInOrder()
47 verifyNoMoreInteractions(mockOne, mockTwo, mockThree); in shouldVerifyAllInvocationsInOrder()
52 InOrder inOrder = inOrder(mockTwo, mockThree); in shouldVerifyInOrderMockTwoAndThree()
55 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyInOrderMockTwoAndThree()
57 verifyNoMoreInteractions(mockTwo, mockThree); in shouldVerifyInOrderMockTwoAndThree()
62 InOrder inOrder = inOrder(mockOne, mockThree); in shouldVerifyInOrderMockOneAndThree()
[all …]
DRelaxedVerificationInOrderTest.java28 private IMethods mockThree; field in RelaxedVerificationInOrderTest
35 mockThree = mock(IMethods.class); in setUp()
37 inOrder = inOrder(mockOne, mockTwo, mockThree); in setUp()
42 mockThree.simpleMethod(3); in setUp()
51 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyInOrderAllInvocations()
54 verifyNoMoreInteractions(mockOne, mockTwo, mockThree); in shouldVerifyInOrderAllInvocations()
60 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyInOrderAndBeRelaxed()
62 verifyNoMoreInteractions(mockThree); in shouldVerifyInOrderAndBeRelaxed()
87 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyDetectFirstChunkOfInvocationThatExistInManyChunks()
106 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyInteractionsFromAllChunksWhenAtLeastOnceMode()
[all …]
DBasicVerificationInOrderTest.java26 private IMethods mockThree; field in BasicVerificationInOrderTest
33 mockThree = mock(IMethods.class); in setUp()
35 inOrder = inOrder(mockOne, mockTwo, mockThree); in setUp()
40 mockThree.simpleMethod(3); in setUp()
49 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyInOrder()
52 verifyNoMoreInteractions(mockOne, mockTwo, mockThree); in shouldVerifyInOrder()
59 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyInOrderUsingAtLeastOnce()
62 verifyNoMoreInteractions(mockOne, mockTwo, mockThree); in shouldVerifyInOrderUsingAtLeastOnce()
71 inOrder.verify(mockThree).simpleMethod(3); in shouldVerifyInOrderWhenExpectingSomeInvocationsToBeCalledZeroTimes()
74 inOrder.verify(mockThree, times(0)).oneArg(false); in shouldVerifyInOrderWhenExpectingSomeInvocationsToBeCalledZeroTimes()
[all …]
DVerificationInOrderTest.java24 private IMethods mockThree; field in VerificationInOrderTest
31 mockThree = mock(IMethods.class); in setUp()
33 inOrder = inOrder(mockOne, mockTwo, mockThree); in setUp()
DBasicVerificationTest.java116 IMethods mockThree = mock(IMethods.class); in shouldDetectWhenOverloadedMethodCalled() local
118 mockThree.varargs((Object[]) new Object[] {}); in shouldDetectWhenOverloadedMethodCalled()
120 verify(mockThree).varargs((String[]) new String[] {}); in shouldDetectWhenOverloadedMethodCalled()