Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockitousage/stubbing/
DStubbingWithThrowablesTest.java272 when(mock.throwsIOException(0)).thenThrow(CheckedException.class); in shouldNotAllowDifferntCheckedException()
282 when(mock.throwsError(0)).thenThrow(CheckedException.class); in shouldNotAllowCheckedExceptionWhenErrorIsDeclared()
292 when(mock.throwsNothing(true)).thenThrow(CheckedException.class); in shouldNotAllowCheckedExceptionWhenNothingIsDeclared()
395 private class CheckedException extends Exception { class in StubbingWithThrowablesTest