Searched refs:OngoingStubbing (Results 1 – 13 of 13) sorted by relevance
34 public interface OngoingStubbing<T> { interface48 OngoingStubbing<T> thenReturn(T value); in thenReturn()67 OngoingStubbing<T> thenReturn(T value, T... values); in thenReturn()89 OngoingStubbing<T> thenThrow(Throwable... throwables); in thenThrow()114 OngoingStubbing<T> thenThrow(Class<? extends Throwable> throwableType); in thenThrow()149 …OngoingStubbing<T> thenThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>... … in thenThrow()180 OngoingStubbing<T> thenCallRealMethod(); in thenCallRealMethod()196 OngoingStubbing<T> thenAnswer(Answer<?> answer); in thenAnswer()217 OngoingStubbing<T> then(Answer<?> answer); in then()
26 <T> OngoingStubbing<T> when(T methodCall); in when()
14 import org.mockito.stubbing.OngoingStubbing;16 public abstract class BaseStubbing<T> implements OngoingStubbing<T> {19 public OngoingStubbing<T> thenReturn(T value) { in thenReturn()24 public OngoingStubbing<T> thenReturn(T value, T... values) { in thenReturn()25 OngoingStubbing<T> stubbing = thenReturn(value); in thenReturn()37 private OngoingStubbing<T> thenThrow(Throwable throwable) { in thenThrow()42 public OngoingStubbing<T> thenThrow(Throwable... throwables) { in thenThrow()46 OngoingStubbing<T> stubbing = null; in thenThrow()58 public OngoingStubbing<T> thenThrow(Class<? extends Throwable> throwableType) { in thenThrow()67 …public OngoingStubbing<T> thenThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwab… in thenThrow()[all …]
8 import org.mockito.stubbing.OngoingStubbing;17 public OngoingStubbing<T> thenAnswer(Answer<?> answer) { in thenAnswer()22 public OngoingStubbing<T> then(Answer<?> answer) { in then()
10 import org.mockito.stubbing.OngoingStubbing;26 public OngoingStubbing<T> thenAnswer(Answer<?> answer) { in thenAnswer()36 public OngoingStubbing<T> then(Answer<?> answer) { in then()
11 import org.mockito.stubbing.OngoingStubbing;59 public <T> OngoingStubbing<T> when(T methodCall) { in when()
17 import org.mockito.stubbing.OngoingStubbing;32 private OngoingStubbing<?> ongoingStubbing;50 public void reportOngoingStubbing(OngoingStubbing ongoingStubbing) {54 public OngoingStubbing<?> pullOngoingStubbing() {55 OngoingStubbing<?> temp = ongoingStubbing;
12 import org.mockito.stubbing.OngoingStubbing;18 void reportOngoingStubbing(OngoingStubbing<?> ongoingStubbing); in reportOngoingStubbing()20 OngoingStubbing<?> pullOngoingStubbing(); in pullOngoingStubbing()
9 import org.mockito.stubbing.OngoingStubbing;27 OngoingStubbing<String> mapOngoingStubbing = when(map.get(anyString())); in second_stubbing_throws_IndexOutOfBoundsException()
28 import org.mockito.stubbing.OngoingStubbing;58 OngoingStubbing<Integer> stub = when(buffer.readUnsignedByte()); in mockBytes()
31 import org.mockito.stubbing.OngoingStubbing;74 public <T> OngoingStubbing<T> when(T methodCall) { in when()78 OngoingStubbing<T> stubbing = (OngoingStubbing<T>) mockingProgress.pullOngoingStubbing(); in when()
8 import org.mockito.stubbing.OngoingStubbing;149 private final OngoingStubbing<T> mockitoOngoingStubbing;151 public BDDOngoingStubbingImpl(OngoingStubbing<T> ongoingStubbing) { in BDDOngoingStubbingImpl()
34 import org.mockito.stubbing.OngoingStubbing;2091 public static <T> OngoingStubbing<T> when(T methodCall) { in when()