public static class BDDMockito.BDDStubberImpl extends Object implements BDDMockito.BDDStubber
Constructor and Description |
---|
BDDStubberImpl(Stubber mockitoStubber) |
Modifier and Type | Method and Description |
---|---|
<T> T |
given(T mock)
See original
Stubber.when(Object) |
BDDMockito.BDDStubber |
willAnswer(Answer answer)
See original
Stubber.doAnswer(Answer) |
BDDMockito.BDDStubber |
willNothing()
See original
Stubber.doNothing() |
BDDMockito.BDDStubber |
willReturn(Object toBeReturned)
See original
Stubber.doReturn(Object) |
BDDMockito.BDDStubber |
willThrow(Throwable toBeThrown)
See original
Stubber.doThrow(Throwable) |
public BDDStubberImpl(Stubber mockitoStubber)
public <T> T given(T mock)
BDDMockito.BDDStubber
Stubber.when(Object)
given
in interface BDDMockito.BDDStubber
public BDDMockito.BDDStubber willAnswer(Answer answer)
BDDMockito.BDDStubber
Stubber.doAnswer(Answer)
willAnswer
in interface BDDMockito.BDDStubber
public BDDMockito.BDDStubber willNothing()
BDDMockito.BDDStubber
Stubber.doNothing()
willNothing
in interface BDDMockito.BDDStubber
public BDDMockito.BDDStubber willReturn(Object toBeReturned)
BDDMockito.BDDStubber
Stubber.doReturn(Object)
willReturn
in interface BDDMockito.BDDStubber
public BDDMockito.BDDStubber willThrow(Throwable toBeThrown)
BDDMockito.BDDStubber
Stubber.doThrow(Throwable)
willThrow
in interface BDDMockito.BDDStubber
Copyright © 2018. All rights reserved.