|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use OngoingStubbing | |
|---|---|
| org.mockito | Mockito is a mock library for java - see Mockito class for for usage. |
| org.mockito.internal | Internal classes, not to be used by clients. |
| org.mockito.internal.stubbing | Stubbing logic. |
| org.mockito.stubbing | External stubbing related classes |
| Uses of OngoingStubbing in org.mockito |
|---|
| Methods in org.mockito that return OngoingStubbing | ||
|---|---|---|
static
|
Mockito.when(T methodCall)
Enables stubbing methods. |
|
| Constructors in org.mockito with parameters of type OngoingStubbing | |
|---|---|
BDDMockito.BDDOngoingStubbingImpl(OngoingStubbing<T> ongoingStubbing)
|
|
| Uses of OngoingStubbing in org.mockito.internal |
|---|
| Methods in org.mockito.internal that return OngoingStubbing | ||
|---|---|---|
|
MockitoCore.when(T methodCall)
|
|
| Uses of OngoingStubbing in org.mockito.internal.stubbing |
|---|
| Classes in org.mockito.internal.stubbing that implement OngoingStubbing | |
|---|---|
class |
BaseStubbing<T>
|
class |
ConsecutiveStubbing<T>
|
class |
OngoingStubbingImpl<T>
|
| Methods in org.mockito.internal.stubbing that return OngoingStubbing | |
|---|---|
OngoingStubbing<T> |
OngoingStubbingImpl.then(Answer<?> answer)
|
OngoingStubbing<T> |
ConsecutiveStubbing.then(Answer<?> answer)
|
OngoingStubbing<T> |
OngoingStubbingImpl.thenAnswer(Answer<?> answer)
|
OngoingStubbing<T> |
ConsecutiveStubbing.thenAnswer(Answer<?> answer)
|
OngoingStubbing<T> |
BaseStubbing.thenCallRealMethod()
|
OngoingStubbing<T> |
BaseStubbing.thenReturn(T value)
|
OngoingStubbing<T> |
BaseStubbing.thenReturn(T value,
T... values)
|
OngoingStubbing<T> |
BaseStubbing.thenThrow(java.lang.Class<? extends java.lang.Throwable>... throwableClasses)
|
OngoingStubbing<T> |
BaseStubbing.thenThrow(java.lang.Throwable... throwables)
|
| Uses of OngoingStubbing in org.mockito.stubbing |
|---|
| Methods in org.mockito.stubbing that return OngoingStubbing | |
|---|---|
OngoingStubbing<T> |
OngoingStubbing.then(Answer<?> answer)
Sets a generic Answer for the method. |
OngoingStubbing<T> |
OngoingStubbing.thenAnswer(Answer<?> answer)
Sets a generic Answer for the method. |
OngoingStubbing<T> |
OngoingStubbing.thenCallRealMethod()
Sets the real implementation to be called when the method is called on a mock object. |
OngoingStubbing<T> |
OngoingStubbing.thenReturn(T value)
Sets a return value to be returned when the method is called. |
OngoingStubbing<T> |
OngoingStubbing.thenReturn(T value,
T... values)
Sets consecutive return values to be returned when the method is called. |
OngoingStubbing<T> |
OngoingStubbing.thenThrow(java.lang.Class<? extends java.lang.Throwable>... throwableClasses)
Sets Throwable classes to be thrown when the method is called. |
OngoingStubbing<T> |
OngoingStubbing.thenThrow(java.lang.Throwable... throwables)
Sets Throwable objects to be thrown when the method is called. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||