T - public class DelegatingToConstructorsOngoingStubbing<T> extends Object implements org.mockito.stubbing.OngoingStubbing<T>
| Constructor and Description |
|---|
DelegatingToConstructorsOngoingStubbing(Constructor<?>[] ctors,
org.mockito.stubbing.OngoingStubbing<T> stubbing) |
| Modifier and Type | Method and Description |
|---|---|
<M> M |
getMock() |
org.mockito.stubbing.OngoingStubbing<T> |
then(org.mockito.stubbing.Answer<?> answer) |
org.mockito.stubbing.OngoingStubbing<T> |
thenAnswer(org.mockito.stubbing.Answer<?> answer) |
org.mockito.stubbing.OngoingStubbing<T> |
thenCallRealMethod() |
org.mockito.stubbing.OngoingStubbing<T> |
thenReturn(T value) |
org.mockito.stubbing.OngoingStubbing<T> |
thenReturn(T value,
T... values) |
org.mockito.stubbing.OngoingStubbing<T> |
thenThrow(Class<? extends Throwable> throwableType) |
org.mockito.stubbing.OngoingStubbing<T> |
thenThrow(Class<? extends Throwable> toBeThrown,
Class<? extends Throwable>... nextToBeThrown) |
org.mockito.stubbing.OngoingStubbing<T> |
thenThrow(Throwable... throwables) |
public DelegatingToConstructorsOngoingStubbing(Constructor<?>[] ctors, org.mockito.stubbing.OngoingStubbing<T> stubbing)
public org.mockito.stubbing.OngoingStubbing<T> thenReturn(T value)
thenReturn in interface org.mockito.stubbing.OngoingStubbing<T>public org.mockito.stubbing.OngoingStubbing<T> thenReturn(T value, T... values)
thenReturn in interface org.mockito.stubbing.OngoingStubbing<T>public org.mockito.stubbing.OngoingStubbing<T> thenThrow(Throwable... throwables)
thenThrow in interface org.mockito.stubbing.OngoingStubbing<T>public org.mockito.stubbing.OngoingStubbing<T> thenThrow(Class<? extends Throwable> throwableType)
thenThrow in interface org.mockito.stubbing.OngoingStubbing<T>public org.mockito.stubbing.OngoingStubbing<T> thenThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>... nextToBeThrown)
thenThrow in interface org.mockito.stubbing.OngoingStubbing<T>public org.mockito.stubbing.OngoingStubbing<T> thenCallRealMethod()
thenCallRealMethod in interface org.mockito.stubbing.OngoingStubbing<T>public org.mockito.stubbing.OngoingStubbing<T> thenAnswer(org.mockito.stubbing.Answer<?> answer)
thenAnswer in interface org.mockito.stubbing.OngoingStubbing<T>public org.mockito.stubbing.OngoingStubbing<T> then(org.mockito.stubbing.Answer<?> answer)
then in interface org.mockito.stubbing.OngoingStubbing<T>public <M> M getMock()
getMock in interface org.mockito.stubbing.OngoingStubbing<T>Copyright © 2007–2016. All rights reserved.