diff --git a/src/test/java/org/kiwiproject/jaxrs/KiwiResourcesTest.java b/src/test/java/org/kiwiproject/jaxrs/KiwiResourcesTest.java index 49649653..125fb540 100644 --- a/src/test/java/org/kiwiproject/jaxrs/KiwiResourcesTest.java +++ b/src/test/java/org/kiwiproject/jaxrs/KiwiResourcesTest.java @@ -523,7 +523,6 @@ private void assertEntity(Response response) throws IOException { assertThat(mapEntity).isEqualTo(FromResponseTestResource.ENTITY); } - @SuppressWarnings("resource") @Test void shouldThrowIllegalStateException_WhenEntityAlreadyConsumed() { var originalResponse = RESOURCES.client().target("/from-response/with-entity").request().get();