BDDMockito.BDDMyOngoingStubbing
instead.@Deprecated public static class BDDMockito.BDDOngoingStubbingImpl<T> extends Object implements BDDMockito.BDDMyOngoingStubbing<T>
Constructor and Description |
---|
BDDMockito.BDDOngoingStubbingImpl(OngoingStubbing<T> ongoingStubbing)
Deprecated.
|
public BDDMockito.BDDOngoingStubbingImpl(OngoingStubbing<T> ongoingStubbing)
public BDDMockito.BDDMyOngoingStubbing<T> willAnswer(Answer<?> answer)
BDDMockito.BDDMyOngoingStubbing
OngoingStubbing.thenAnswer(Answer)
willAnswer
in interface BDDMockito.BDDMyOngoingStubbing<T>
public BDDMockito.BDDMyOngoingStubbing<T> will(Answer<?> answer)
BDDMockito.BDDMyOngoingStubbing
OngoingStubbing.then(Answer)
will
in interface BDDMockito.BDDMyOngoingStubbing<T>
public BDDMockito.BDDMyOngoingStubbing<T> willReturn(T value)
BDDMockito.BDDMyOngoingStubbing
OngoingStubbing.thenReturn(Object)
willReturn
in interface BDDMockito.BDDMyOngoingStubbing<T>
public BDDMockito.BDDMyOngoingStubbing<T> willReturn(T value, T... values)
BDDMockito.BDDMyOngoingStubbing
OngoingStubbing.thenReturn(Object, Object[])
willReturn
in interface BDDMockito.BDDMyOngoingStubbing<T>
public BDDMockito.BDDMyOngoingStubbing<T> willThrow(Throwable... throwables)
BDDMockito.BDDMyOngoingStubbing
OngoingStubbing.thenThrow(Throwable...)
willThrow
in interface BDDMockito.BDDMyOngoingStubbing<T>
public BDDMockito.BDDMyOngoingStubbing<T> willThrow(Class<? extends Throwable>... throwableClasses)
BDDMockito.BDDMyOngoingStubbing
OngoingStubbing.thenThrow(Class[])
willThrow
in interface BDDMockito.BDDMyOngoingStubbing<T>
public BDDMockito.BDDMyOngoingStubbing<T> willCallRealMethod()
BDDMockito.BDDMyOngoingStubbing
OngoingStubbing.thenCallRealMethod()
willCallRealMethod
in interface BDDMockito.BDDMyOngoingStubbing<T>
public <M> M getMock()
BDDMockito.BDDMyOngoingStubbing
OngoingStubbing.getMock()
getMock
in interface BDDMockito.BDDMyOngoingStubbing<T>
Mockito, MIT License