Searched refs:Stubber (Results 1 – 5 of 5) sorted by relevance
42 public interface Stubber { interface86 Stubber doThrow(Throwable... toBeThrown); in doThrow()102 Stubber doThrow(Class<? extends Throwable> toBeThrown); in doThrow()121 …Stubber doThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>... nextToBeThrow… in doThrow()135 Stubber doAnswer(Answer answer); in doAnswer()148 Stubber doNothing(); in doNothing()158 Stubber doReturn(Object toBeReturned); in doReturn()170 Stubber doReturn(Object toBeReturned, Object... nextToBeReturned); in doReturn()179 Stubber doCallRealMethod(); in doCallRealMethod()
12 import org.mockito.stubbing.Stubber;25 public class StubberImpl implements Stubber {45 public Stubber doReturn(Object toBeReturned) { in doReturn()50 public Stubber doReturn(Object toBeReturned, Object... nextToBeReturned) { in doReturn()66 public Stubber doThrow(Throwable... toBeThrown) { in doThrow()78 public Stubber doThrow(Class<? extends Throwable> toBeThrown) { in doThrow()94 …public Stubber doThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>... nextTo… in doThrow()95 Stubber stubber = doThrow(toBeThrown); in doThrow()110 public Stubber doNothing() { in doNothing()116 public Stubber doAnswer(Answer answer) { in doAnswer()[all …]
32 import org.mockito.stubbing.Stubber;2230 public static Stubber doThrow(Throwable... toBeThrown) { in doThrow()2253 public static Stubber doThrow(Class<? extends Throwable> toBeThrown) { in doThrow()2280 …public static Stubber doThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>...… in doThrow()2317 public static Stubber doCallRealMethod() { in doCallRealMethod()2344 public static Stubber doAnswer(Answer answer) { in doAnswer()2387 public static Stubber doNothing() { in doNothing()2438 public static Stubber doReturn(Object toBeReturned) { in doReturn()2493 public static Stubber doReturn(Object toBeReturned, Object... toBeReturnedNext) { in doReturn()
9 import org.mockito.stubbing.Stubber;402 private final Stubber mockitoStubber;404 public BDDStubberImpl(Stubber mockitoStubber) { in BDDStubberImpl()
29 import org.mockito.stubbing.Stubber;167 public Stubber stubber() { in stubber()