Skip to content

Commit

Permalink
again more test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
strehle committed Nov 8, 2024
1 parent 16cdbfb commit 58f193b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@ void test_equal() {
assertEquals(uriRequest, uriRequest);
assertThat(uriRequest.equals(null)).isFalse();
assertThat(uriRequest.equals(URL)).isFalse();
assertThat(new StaleUrlCache.UriRequest(URL, mockRestTemplate, HttpMethod.GET, responseEntity).equals(uriRequest)).isTrue();
assertThat(new StaleUrlCache.UriRequest(null, mockRestTemplate, HttpMethod.GET, responseEntity).equals(uriRequest)).isFalse();
}

@Test
Expand Down

0 comments on commit 58f193b

Please sign in to comment.