diff --git a/feign-reactor-rx3/src/test/java/reactivefeign/rx3/StatusHandlerTest.java b/feign-reactor-rx3/src/test/java/reactivefeign/rx3/StatusHandlerTest.java index 4866356d..c541c25c 100644 --- a/feign-reactor-rx3/src/test/java/reactivefeign/rx3/StatusHandlerTest.java +++ b/feign-reactor-rx3/src/test/java/reactivefeign/rx3/StatusHandlerTest.java @@ -24,7 +24,10 @@ import java.nio.charset.Charset; import java.util.Collections; -import static com.github.tomakehurst.wiremock.client.WireMock.*; +import static com.github.tomakehurst.wiremock.client.WireMock.aResponse; +import static com.github.tomakehurst.wiremock.client.WireMock.equalTo; +import static com.github.tomakehurst.wiremock.client.WireMock.get; +import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo; import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig; import static reactivefeign.rx3.client.statushandler.Rx3StatusHandlers.throwOnStatus; import static reactivefeign.utils.FeignUtils.httpMethod; @@ -65,7 +68,7 @@ public void shouldThrowRetryException() throws InterruptedException { return new RetryableException( response.status(), "Should retry on next node", - httpMethod, null, request); + httpMethod, (Long)null, request); })) .target(IcecreamServiceApi.class, "http://localhost:" + wireMockRule.port());