Home | History | Annotate | Download | only in junitrule

Lines Matching defs:simpleMethod

35         mock.simpleMethod();
36 verify(mock).simpleMethod();
40 given(mock.simpleMethod(10)).willReturn("foo");
41 mock.simpleMethod(10);
45 given(mock.simpleMethod(10)).willReturn("foo");
46 mock.simpleMethod(10);
47 mock.simpleMethod(15);
55 given(mock.simpleMethod(10)).willReturn("foo");
56 mock2.simpleMethod(10);
64 given(mock.simpleMethod(10)).willReturn("foo");
77 when(mock.simpleMethod(10)).thenReturn("10");
78 when(mock.simpleMethod(20)).thenReturn("20");
88 " - this invocation of 'simpleMethod' method:\n" +
89 " mock.simpleMethod(15);\n" +
92 " 1. mock.simpleMethod(20);\n" +
94 " 2. mock.simpleMethod(30);\n" +
109 willReturn("10").given(mock).simpleMethod(10) ; //used
110 willReturn("20").given(mock).simpleMethod(20) ; //unused
111 willReturn("30").given(mock).simpleMethod(30) ; //unused
115 mock.simpleMethod(10); //ok, stubbed with this argument
119 mock.simpleMethod(15);
124 given(mock.simpleMethod(10)).willReturn("foo");
127 mock.simpleMethod(10); //implicitly verifies the stubbing
150 given(mock.simpleMethod(10)).willReturn("foo");
151 given(mock2.simpleMethod(20)).willReturn("foo");