public static class BDDMockito.BDDOngoingStubbingImpl<T> extends Object implements BDDMockito.BDDMyOngoingStubbing<T>
Constructor and Description |
---|
BDDOngoingStubbingImpl(OngoingStubbing<T> ongoingStubbing) |
Modifier and Type | Method and Description |
---|---|
BDDMockito.BDDMyOngoingStubbing<T> |
willAnswer(Answer<?> answer)
See original
OngoingStubbing.thenAnswer(Answer) |
BDDMockito.BDDMyOngoingStubbing<T> |
willCallRealMethod()
See original
OngoingStubbing.thenCallRealMethod() |
BDDMockito.BDDMyOngoingStubbing<T> |
willReturn(T value)
See original
OngoingStubbing.thenReturn(Object) |
BDDMockito.BDDMyOngoingStubbing<T> |
willReturn(T value,
T... values)
See original
OngoingStubbing.thenReturn(Object, Object...) |
BDDMockito.BDDMyOngoingStubbing<T> |
willThrow(Throwable... throwables)
See original
OngoingStubbing.thenThrow(Throwable...) |
public 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> 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> willCallRealMethod()
BDDMockito.BDDMyOngoingStubbing
OngoingStubbing.thenCallRealMethod()
willCallRealMethod
in interface BDDMockito.BDDMyOngoingStubbing<T>
Copyright © 2018. All rights reserved.