Home
last modified time | relevance | path

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

/external/mockito/src/main/java/org/mockito/internal/stubbing/
DStubberImpl.java52 public Stubber doReturn(Object toBeReturned) { in doReturn() argument
53 return doReturnValues(toBeReturned); in doReturn()
57 public Stubber doReturn(Object toBeReturned, Object... nextToBeReturned) { in doReturn() argument
58 return doReturnValues(toBeReturned).doReturnValues(nextToBeReturned); in doReturn()
61 private StubberImpl doReturnValues(Object... toBeReturned) { in doReturnValues() argument
62 if (toBeReturned == null) { in doReturnValues()
66 for (Object r : toBeReturned) { in doReturnValues()
DDefaultLenientStubber.java44 public Stubber doReturn(Object toBeReturned) { in doReturn() argument
45 return stubber().doReturn(toBeReturned); in doReturn()
49 public Stubber doReturn(Object toBeReturned, Object... nextToBeReturned) { in doReturn() argument
50 return stubber().doReturn(toBeReturned, nextToBeReturned); in doReturn()
/external/mockito/src/main/java/org/mockito/
DBDDMockito.java359 BDDStubber willReturn(Object toBeReturned); in willReturn() argument
366 BDDStubber willReturn(Object toBeReturned, Object... nextToBeReturned); in willReturn() argument
432 public BDDStubber willReturn(Object toBeReturned) { in willReturn() argument
433 return new BDDStubberImpl(mockitoStubber.doReturn(toBeReturned)); in willReturn()
436 public BDDStubber willReturn(Object toBeReturned, Object... nextToBeReturned) { in willReturn() argument
437 … return new BDDStubberImpl(mockitoStubber.doReturn(toBeReturned).doReturn(nextToBeReturned)); in willReturn()
509 public static BDDStubber willReturn(Object toBeReturned) { in willReturn() argument
510 return new BDDStubberImpl(Mockito.doReturn(toBeReturned)); in willReturn()
518 public static BDDStubber willReturn(Object toBeReturned, Object... toBeReturnedNext) { in willReturn() argument
519 return new BDDStubberImpl(Mockito.doReturn(toBeReturned, toBeReturnedNext)); in willReturn()
DMockito.java2481 public static Stubber doReturn(Object toBeReturned) { in doReturn() argument
2482 return MOCKITO_CORE.stubber().doReturn(toBeReturned); in doReturn()
2536 public static Stubber doReturn(Object toBeReturned, Object... toBeReturnedNext) { in doReturn() argument
2537 return MOCKITO_CORE.stubber().doReturn(toBeReturned, toBeReturnedNext); in doReturn()
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/extended/
DStaticCapableStubber.java188 public StaticCapableStubber doReturn(Object toBeReturned) { in doReturn() argument
189 instanceStubber = instanceStubber.doReturn(toBeReturned); in doReturn()
194 public StaticCapableStubber doReturn(Object toBeReturned, Object... nextToBeReturned) { in doReturn() argument
195 instanceStubber = instanceStubber.doReturn(toBeReturned, nextToBeReturned); in doReturn()
DExtendedMockito.java104 public static StaticCapableStubber doReturn(Object toBeReturned) { in doReturn() argument
105 return new StaticCapableStubber(Mockito.doReturn(toBeReturned)); in doReturn()
113 public static StaticCapableStubber doReturn(Object toBeReturned, Object... toBeReturnedNext) { in doReturn() argument
114 return new StaticCapableStubber(Mockito.doReturn(toBeReturned, toBeReturnedNext)); in doReturn()
/external/mockito/src/main/java/org/mockito/stubbing/
DBaseStubber.java103 Stubber doReturn(Object toBeReturned); in doReturn() argument
115 Stubber doReturn(Object toBeReturned, Object... nextToBeReturned); in doReturn() argument