Searched refs:Stubber (Results 1 – 8 of 8) sorted by relevance
31 Stubber doThrow(Throwable... toBeThrown); in doThrow()47 Stubber doThrow(Class<? extends Throwable> toBeThrown); in doThrow()66 …Stubber doThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>... nextToBeThrow… in doThrow()80 Stubber doAnswer(Answer answer); in doAnswer()93 Stubber doNothing(); in doNothing()103 Stubber doReturn(Object toBeReturned); in doReturn()115 Stubber doReturn(Object toBeReturned, Object... nextToBeReturned); in doReturn()124 Stubber doCallRealMethod(); in doCallRealMethod()
44 public interface Stubber extends BaseStubber { interface
12 import org.mockito.stubbing.Stubber;19 public Stubber doThrow(Throwable... toBeThrown) { in doThrow()24 public Stubber doThrow(Class<? extends Throwable> toBeThrown) { in doThrow()29 …public Stubber doThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>... nextTo… in doThrow()34 public Stubber doAnswer(Answer answer) { in doAnswer()39 public Stubber doNothing() { in doNothing()44 public Stubber doReturn(Object toBeReturned) { in doReturn()49 public Stubber doReturn(Object toBeReturned, Object... nextToBeReturned) { in doReturn()54 public Stubber doCallRealMethod() { in doCallRealMethod()65 private static Stubber stubber() { in stubber()
13 import org.mockito.stubbing.Stubber;26 public class StubberImpl implements Stubber {52 public Stubber doReturn(Object toBeReturned) { in doReturn()57 public Stubber doReturn(Object toBeReturned, Object... nextToBeReturned) { in doReturn()73 public Stubber doThrow(Throwable... toBeThrown) { in doThrow()85 public Stubber doThrow(Class<? extends Throwable> toBeThrown) { in doThrow()101 …public Stubber doThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>... nextTo… in doThrow()102 Stubber stubber = doThrow(toBeThrown); in doThrow()117 public Stubber doNothing() { in doNothing()123 public Stubber doAnswer(Answer answer) { in doAnswer()[all …]
35 import org.mockito.stubbing.Stubber;2273 public static Stubber doThrow(Throwable... toBeThrown) { in doThrow()2296 public static Stubber doThrow(Class<? extends Throwable> toBeThrown) { in doThrow()2323 …public static Stubber doThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>...… in doThrow()2360 public static Stubber doCallRealMethod() { in doCallRealMethod()2387 public static Stubber doAnswer(Answer answer) { in doAnswer()2430 public static Stubber doNothing() { in doNothing()2481 public static Stubber doReturn(Object toBeReturned) { in doReturn()2536 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()
20 import org.mockito.stubbing.Stubber;32 public class StaticCapableStubber implements Stubber {33 private Stubber instanceStubber;35 StaticCapableStubber(Stubber instanceStubber) { in StaticCapableStubber()
32 import org.mockito.stubbing.Stubber;173 public Stubber stubber() { in stubber()177 public Stubber stubber(Strictness strictness) { in stubber()