Searched refs:OngoingStubbing (Results 1 – 10 of 10) sorted by relevance
11 import org.mockito.stubbing.OngoingStubbing;13 public abstract class BaseStubbing<T> implements OngoingStubbing<T> {15 public OngoingStubbing<T> thenReturn(T value) { in thenReturn()20 public OngoingStubbing<T> thenReturn(T value, T... values) { in thenReturn()21 OngoingStubbing<T> stubbing = thenReturn(value); in thenReturn()32 private OngoingStubbing<T> thenThrow(Throwable throwable) { in thenThrow()36 public OngoingStubbing<T> thenThrow(Throwable... throwables) { in thenThrow()40 OngoingStubbing<T> stubbing = null; in thenThrow()51 public OngoingStubbing<T> thenThrow(Class<? extends Throwable> throwableType) { in thenThrow()56 …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()
9 import org.mockito.stubbing.OngoingStubbing;23 public OngoingStubbing<T> thenAnswer(Answer<?> answer) { in thenAnswer()32 public OngoingStubbing<T> then(Answer<?> answer) { in then()
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()
17 import org.mockito.stubbing.OngoingStubbing;32 private OngoingStubbing<?> ongoingStubbing;50 public void reportOngoingStubbing(OngoingStubbing iOngoingStubbing) {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()
48 import org.mockito.stubbing.OngoingStubbing;70 public <T> OngoingStubbing<T> when(T methodCall) { in when()74 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()
1888 public static <T> OngoingStubbing<T> when(T methodCall) { in when()