Package org.mockito
Class BDDMockito.BDDStubberImpl
java.lang.Object
org.mockito.BDDMockito.BDDStubberImpl
- All Implemented Interfaces:
BDDMockito.BDDStubber
- Enclosing class:
- BDDMockito
@Deprecated
public static class BDDMockito.BDDStubberImpl
extends Object
implements BDDMockito.BDDStubber
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
given
(T mock) Deprecated.See originalStubber.when(Object)
willAnswer
(Answer answer) Deprecated.See originalStubber.doAnswer(Answer)
Deprecated.See originalStubber.doCallRealMethod()
Deprecated.See originalStubber.doNothing()
willReturn
(Object toBeReturned) Deprecated.See originalStubber.doReturn(Object)
Deprecated.See originalStubber.doThrow(Class)
Deprecated.See originalStubber.doThrow(Throwable)
-
Constructor Details
-
BDDStubberImpl
Deprecated.
-
-
Method Details
-
given
public <T> T given(T mock) Deprecated.Description copied from interface:BDDMockito.BDDStubber
See originalStubber.when(Object)
- Specified by:
given
in interfaceBDDMockito.BDDStubber
-
willAnswer
Deprecated.Description copied from interface:BDDMockito.BDDStubber
See originalStubber.doAnswer(Answer)
- Specified by:
willAnswer
in interfaceBDDMockito.BDDStubber
-
willNothing
Deprecated.Description copied from interface:BDDMockito.BDDStubber
See originalStubber.doNothing()
- Specified by:
willNothing
in interfaceBDDMockito.BDDStubber
-
willReturn
Deprecated.Description copied from interface:BDDMockito.BDDStubber
See originalStubber.doReturn(Object)
- Specified by:
willReturn
in interfaceBDDMockito.BDDStubber
-
willThrow
Deprecated.Description copied from interface:BDDMockito.BDDStubber
See originalStubber.doThrow(Throwable)
- Specified by:
willThrow
in interfaceBDDMockito.BDDStubber
-
willThrow
Deprecated.Description copied from interface:BDDMockito.BDDStubber
See originalStubber.doThrow(Class)
- Specified by:
willThrow
in interfaceBDDMockito.BDDStubber
-
willCallRealMethod
Deprecated.Description copied from interface:BDDMockito.BDDStubber
See originalStubber.doCallRealMethod()
- Specified by:
willCallRealMethod
in interfaceBDDMockito.BDDStubber
-
BDDMockito.BDDStubber
instead.