Searched refs:CheckedException (Results 1 – 1 of 1) sorted by relevance
272 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