Searched refs:toBeReturned (Results 1 – 4 of 4) sorted by relevance
45 public Stubber doReturn(Object toBeReturned) { in doReturn() argument46 return doReturnValues(toBeReturned); in doReturn()50 public Stubber doReturn(Object toBeReturned, Object... nextToBeReturned) { in doReturn() argument51 return doReturnValues(toBeReturned).doReturnValues(nextToBeReturned); in doReturn()54 private StubberImpl doReturnValues(Object... toBeReturned) { in doReturnValues() argument55 if (toBeReturned == null) { in doReturnValues()59 for (Object r : toBeReturned) { in doReturnValues()
359 BDDStubber willReturn(Object toBeReturned); in willReturn() argument366 BDDStubber willReturn(Object toBeReturned, Object... nextToBeReturned); in willReturn() argument432 public BDDStubber willReturn(Object toBeReturned) { in willReturn() argument433 return new BDDStubberImpl(mockitoStubber.doReturn(toBeReturned)); in willReturn()436 public BDDStubber willReturn(Object toBeReturned, Object... nextToBeReturned) { in willReturn() argument437 … return new BDDStubberImpl(mockitoStubber.doReturn(toBeReturned).doReturn(nextToBeReturned)); in willReturn()509 public static BDDStubber willReturn(Object toBeReturned) { in willReturn() argument510 return new BDDStubberImpl(Mockito.doReturn(toBeReturned)); in willReturn()518 public static BDDStubber willReturn(Object toBeReturned, Object... toBeReturnedNext) { in willReturn() argument519 return new BDDStubberImpl(Mockito.doReturn(toBeReturned, toBeReturnedNext)); in willReturn()
2438 public static Stubber doReturn(Object toBeReturned) { in doReturn() argument2439 return MOCKITO_CORE.stubber().doReturn(toBeReturned); in doReturn()2493 public static Stubber doReturn(Object toBeReturned, Object... toBeReturnedNext) { in doReturn() argument2494 return MOCKITO_CORE.stubber().doReturn(toBeReturned, toBeReturnedNext); in doReturn()
158 Stubber doReturn(Object toBeReturned); in doReturn() argument170 Stubber doReturn(Object toBeReturned, Object... nextToBeReturned); in doReturn() argument