Skip to content

Commit c92edcc

Browse files
fix: add assert/verify to unit test
1 parent 4d5f669 commit c92edcc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client-jetty/src/test/java/de/holisticon/servlet4demo/jettyclient/jetty/JettyClientDemoTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ public void testPerformAsyncHttpRequestWithException() {
6969
when(httpClient.newRequest(anyString())).thenReturn(request);
7070

7171
sut.performAsyncHttpRequest("localhost", 8443, "/some/path");
72+
verify(request, times(1)).onResponseContent(any(ContentListener.class));
7273

7374
}
7475

0 commit comments

Comments
 (0)