OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mockThree
(Results
1 - 6
of
6
) sorted by null
/external/mockito/src/test/java/org/mockitousage/verification/
VerificationInOrderMixedWithOrdiraryVerificationTest.java
24
private IMethods
mockThree
;
31
mockThree
= mock(IMethods.class);
36
mockThree
.simpleMethod(3);
37
mockThree
.simpleMethod(4);
39
inOrder = inOrder(mockOne,
mockThree
);
45
inOrder.verify(
mockThree
).simpleMethod(3);
46
inOrder.verify(
mockThree
).simpleMethod(4);
49
verifyNoMoreInteractions(mockOne, mockTwo,
mockThree
);
56
verify(
mockThree
).simpleMethod(3);
57
verify(
mockThree
).simpleMethod(4)
[
all
...]
RelaxedVerificationInOrderTest.java
28
private IMethods
mockThree
;
35
mockThree
= mock(IMethods.class);
37
inOrder = inOrder(mockOne, mockTwo,
mockThree
);
42
mockThree
.simpleMethod(3);
51
inOrder.verify(
mockThree
).simpleMethod(3);
54
verifyNoMoreInteractions(mockOne, mockTwo,
mockThree
);
60
inOrder.verify(
mockThree
).simpleMethod(3);
62
verifyNoMoreInteractions(
mockThree
);
87
inOrder.verify(
mockThree
).simpleMethod(3);
106
inOrder.verify(
mockThree
).simpleMethod(3)
[
all
...]
SelectedMocksInOrderVerificationTest.java
23
private IMethods
mockThree
;
29
mockThree
= mock(IMethods.class);
34
mockThree
.simpleMethod(3);
41
InOrder inOrder = inOrder(mockOne, mockTwo,
mockThree
);
44
inOrder.verify(
mockThree
).simpleMethod(3);
47
verifyNoMoreInteractions(mockOne, mockTwo,
mockThree
);
52
InOrder inOrder = inOrder(mockTwo,
mockThree
);
55
inOrder.verify(
mockThree
).simpleMethod(3);
57
verifyNoMoreInteractions(mockTwo,
mockThree
);
62
InOrder inOrder = inOrder(mockOne,
mockThree
);
[
all
...]
BasicVerificationInOrderTest.java
26
private IMethods
mockThree
;
33
mockThree
= mock(IMethods.class);
35
inOrder = inOrder(mockOne, mockTwo,
mockThree
);
40
mockThree
.simpleMethod(3);
49
inOrder.verify(
mockThree
).simpleMethod(3);
52
verifyNoMoreInteractions(mockOne, mockTwo,
mockThree
);
59
inOrder.verify(
mockThree
).simpleMethod(3);
62
verifyNoMoreInteractions(mockOne, mockTwo,
mockThree
);
71
inOrder.verify(
mockThree
).simpleMethod(3);
74
inOrder.verify(
mockThree
, times(0)).oneArg(false)
[
all
...]
BasicVerificationTest.java
110
IMethods
mockThree
= mock(IMethods.class);
112
mockThree
.varargs((Object[]) new Object[] {});
114
verify(
mockThree
).varargs((String[]) new String[] {});
VerificationInOrderTest.java
24
private IMethods
mockThree
;
31
mockThree
= mock(IMethods.class);
33
inOrder = inOrder(mockOne, mockTwo,
mockThree
);
Completed in 808 milliseconds