We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe253e4 commit 3a9de27Copy full SHA for 3a9de27
rate-limiting-pattern/src/test/java/com/iluwatar/rate/limiting/pattern/AppTest.java
@@ -45,6 +45,7 @@ void shouldHandleServiceUnavailableException() throws Exception {
45
assertEquals(1, AppTestUtils.getFailedRequests().get());
46
}
47
48
+
49
@Test
50
void shouldHandleGenericException() throws Exception {
51
doThrow(new RuntimeException("Unexpected")).when(mockLimiter).check(any(), any());
0 commit comments