Home
last modified time | relevance | path

Searched refs:mockitoStubber (Results 1 – 1 of 1) sorted by relevance

/external/mockito/src/main/java/org/mockito/
DBDDMockito.java402 private final Stubber mockitoStubber; field in BDDMockito.BDDStubberImpl
404 public BDDStubberImpl(Stubber mockitoStubber) { in BDDStubberImpl() argument
405 this.mockitoStubber = mockitoStubber; in BDDStubberImpl()
409 return mockitoStubber.when(mock); in given()
413 return new BDDStubberImpl(mockitoStubber.doAnswer(answer)); in willAnswer()
417 return new BDDStubberImpl(mockitoStubber.doAnswer(answer)); in will()
429 return new BDDStubberImpl(mockitoStubber.doNothing()); in willDoNothing()
433 return new BDDStubberImpl(mockitoStubber.doReturn(toBeReturned)); in willReturn()
437 … return new BDDStubberImpl(mockitoStubber.doReturn(toBeReturned).doReturn(nextToBeReturned)); in willReturn()
441 return new BDDStubberImpl(mockitoStubber.doThrow(toBeThrown)); in willThrow()
[all …]