diff --git a/spring-cloud-contract-wiremock/src/test/java/org/springframework/cloud/contract/wiremock/restdocs/WireMockSnippetTests.java b/spring-cloud-contract-wiremock/src/test/java/org/springframework/cloud/contract/wiremock/restdocs/WireMockSnippetTests.java index 473e7b8d50..74db3be374 100644 --- a/spring-cloud-contract-wiremock/src/test/java/org/springframework/cloud/contract/wiremock/restdocs/WireMockSnippetTests.java +++ b/spring-cloud-contract-wiremock/src/test/java/org/springframework/cloud/contract/wiremock/restdocs/WireMockSnippetTests.java @@ -177,8 +177,7 @@ public class WireMockSnippetTests { @Test public void should_accept_query_params() throws IOException { - this.operation = operation(requestGetWithQueryParam(), response(), - this.context); + this.operation = operation(requestGetWithQueryParam(), response(), this.context); WireMockSnippet snippet = new WireMockSnippet(); snippet.document(this.operation); @@ -188,9 +187,8 @@ public class WireMockSnippetTests { StubMapping stubMapping = WireMockStubMapping .buildFrom(new String(Files.readAllBytes(stub.toPath()))); assertThat(stubMapping.getRequest().getUrlPath()).isEqualTo("/bar"); - assertThat(stubMapping.getRequest() - .getQueryParameters()) - .containsOnly(Assertions.entry("myParam", MultiValuePattern.of(equalTo(("myValue"))))); + assertThat(stubMapping.getRequest().getQueryParameters()).containsOnly( + Assertions.entry("myParam", MultiValuePattern.of(equalTo(("myValue"))))); } private Operation operation(OperationRequest request, OperationResponse response,