T - org.mockito.internal.progress.IOngoingStubbing, org.mockito.stubbing.OngoingStubbing<T>public class DelegatingToConstructorsOngoingStubbing<T> extends Object implements org.mockito.stubbing.OngoingStubbing<T>
| Constructor | Description |
|---|---|
DelegatingToConstructorsOngoingStubbing(Constructor<?>[] ctors,
org.mockito.stubbing.OngoingStubbing<T> stubbing) |
| Modifier and Type | Method | 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>... throwableClasses) |
|
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>... throwableClasses)
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–2019. All rights reserved.