HomeSort by relevance Sort by last modified time
    Searched defs:thenThrow (Results 1 - 6 of 6) sorted by null

  /external/mockito/src/org/mockito/stubbing/
OngoingStubbing.java 20 * when(mock.someMethod("some arg")).thenThrow(new RuntimeException());
25 * .thenThrow(new RuntimeException())
30 * when(mock.otherMethod()).thenThrow(exc1, exc2);
71 * when(mock.someMethod()).thenThrow(new RuntimeException());
88 OngoingStubbing<T> thenThrow(Throwable... throwables);
93 * when(mock.someMethod()).thenThrow(RuntimeException.class);
114 OngoingStubbing<T> thenThrow(Class<? extends Throwable>... throwableClasses);
192 * Car boringStubbedCar = when(mock(Car.class).shiftGear()).thenThrow(EngineNotStarted.class).getMock();
  /external/mockito/src/org/mockito/internal/stubbing/
BaseStubbing.java 30 private OngoingStubbing<T> thenThrow(Throwable throwable) {
34 public OngoingStubbing<T> thenThrow(Throwable... throwables) {
36 thenThrow((Throwable) null);
41 stubbing = thenThrow(t);
43 stubbing = stubbing.thenThrow(t);
49 private OngoingStubbing<T> thenThrow(Class<? extends Throwable> throwableClass) {
53 public OngoingStubbing<T> thenThrow(Class<? extends Throwable>... throwableClasses) {
55 thenThrow((Throwable) null);
60 stubbing = thenThrow(t);
62 stubbing = stubbing.thenThrow(t);
    [all...]
  /external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-all/1.9.5/
mockito-all-1.9.5.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/1.9.5/
mockito-core-1.9.5.jar 
  /external/robolectric/lib/test/
mockito-core-1.8.5.jar 

Completed in 5579 milliseconds