Package | Description |
---|---|
org.mockito |
Mockito is a mock library for java - see Mockito class for for usage.
|
Modifier and Type | Class and Description |
---|---|
static class |
BDDMockito.BDDOngoingStubbingImpl<T>
Deprecated.
not part of the public API, use
BDDMockito.BDDMyOngoingStubbing instead. |
Modifier and Type | Method and Description |
---|---|
static <T> BDDMockito.BDDMyOngoingStubbing<T> |
BDDMockito.given(T methodCall)
see original
Mockito.when(Object) |
BDDMockito.BDDMyOngoingStubbing<T> |
BDDMockito.BDDMyOngoingStubbing.will(Answer<?> answer)
See original
OngoingStubbing.then(Answer) |
BDDMockito.BDDMyOngoingStubbing<T> |
BDDMockito.BDDOngoingStubbingImpl.will(Answer<?> answer)
Deprecated.
|
BDDMockito.BDDMyOngoingStubbing<T> |
BDDMockito.BDDMyOngoingStubbing.willAnswer(Answer<?> answer)
See original
OngoingStubbing.thenAnswer(Answer) |
BDDMockito.BDDMyOngoingStubbing<T> |
BDDMockito.BDDOngoingStubbingImpl.willAnswer(Answer<?> answer)
Deprecated.
|
BDDMockito.BDDMyOngoingStubbing<T> |
BDDMockito.BDDMyOngoingStubbing.willCallRealMethod()
See original
OngoingStubbing.thenCallRealMethod() |
BDDMockito.BDDMyOngoingStubbing<T> |
BDDMockito.BDDOngoingStubbingImpl.willCallRealMethod()
Deprecated.
|
BDDMockito.BDDMyOngoingStubbing<T> |
BDDMockito.BDDMyOngoingStubbing.willReturn(T value)
See original
OngoingStubbing.thenReturn(Object) |
BDDMockito.BDDMyOngoingStubbing<T> |
BDDMockito.BDDOngoingStubbingImpl.willReturn(T value)
Deprecated.
|
BDDMockito.BDDMyOngoingStubbing<T> |
BDDMockito.BDDMyOngoingStubbing.willReturn(T value,
T... values)
See original
OngoingStubbing.thenReturn(Object, Object[]) |
BDDMockito.BDDMyOngoingStubbing<T> |
BDDMockito.BDDOngoingStubbingImpl.willReturn(T value,
T... values)
Deprecated.
|
BDDMockito.BDDMyOngoingStubbing<T> |
BDDMockito.BDDMyOngoingStubbing.willThrow(Class<? extends Throwable> throwableType)
See original
OngoingStubbing.thenThrow(Class) |
BDDMockito.BDDMyOngoingStubbing<T> |
BDDMockito.BDDOngoingStubbingImpl.willThrow(Class<? extends Throwable> throwableType)
Deprecated.
|
BDDMockito.BDDMyOngoingStubbing<T> |
BDDMockito.BDDMyOngoingStubbing.willThrow(Class<? extends Throwable> throwableType,
Class<? extends Throwable>... throwableTypes)
See original
OngoingStubbing.thenThrow(Class, Class[]) |
BDDMockito.BDDMyOngoingStubbing<T> |
BDDMockito.BDDOngoingStubbingImpl.willThrow(Class<? extends Throwable> throwableType,
Class<? extends Throwable>... throwableTypes)
Deprecated.
|
BDDMockito.BDDMyOngoingStubbing<T> |
BDDMockito.BDDMyOngoingStubbing.willThrow(Throwable... throwables)
See original
OngoingStubbing.thenThrow(Throwable...) |
BDDMockito.BDDMyOngoingStubbing<T> |
BDDMockito.BDDOngoingStubbingImpl.willThrow(Throwable... throwables)
Deprecated.
|