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()
20 import org.mockito.stubbing.Stubber;23 public class StubberImpl implements Stubber {42 public Stubber doReturn(Object toBeReturned) { in doReturn()47 public Stubber doReturn(Object toBeReturned, Object... nextToBeReturned) { in doReturn()63 public Stubber doThrow(Throwable... toBeThrown) { in doThrow()75 public Stubber doThrow(Class<? extends Throwable> toBeThrown) { in doThrow()80 …public Stubber doThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>... nextTo… in doThrow()92 public Stubber doNothing() { in doNothing()98 public Stubber doAnswer(Answer answer) { in doAnswer()104 public Stubber doCallRealMethod() { in doCallRealMethod()
2073 public static Stubber doThrow(Throwable... toBeThrown) { in doThrow()2095 public static Stubber doThrow(Class<? extends Throwable> toBeThrown) { in doThrow()2121 …public static Stubber doThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>...… in doThrow()2157 public static Stubber doCallRealMethod() { in doCallRealMethod()2183 public static Stubber doAnswer(Answer answer) { in doAnswer()2225 public static Stubber doNothing() { in doNothing()2275 public static Stubber doReturn(Object toBeReturned) { in doReturn()2329 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()
49 import org.mockito.stubbing.Stubber;161 public Stubber stubber() { in stubber()