Polish
Closes gh-29928
This commit is contained in:
committed by
Sébastien Deleuze
parent
a7ec6b4a2a
commit
431ae03447
@@ -32,7 +32,7 @@ import org.springframework.test.web.client.ResponseCreator;
|
||||
* response.
|
||||
*
|
||||
* <p>In addition, see also the {@link ExecutingResponseCreator} implementation
|
||||
* that performs an actual requests to remote services.
|
||||
* that performs actual requests to remote services.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 3.2
|
||||
|
||||
@@ -83,7 +83,7 @@ public class XpathResultMatchers {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the response encoding if explicitly defined in the response, {code null} otherwise.
|
||||
* Get the response encoding if explicitly defined in the response, {@code null} otherwise.
|
||||
*/
|
||||
@Nullable
|
||||
private String getDefinedEncoding(MockHttpServletResponse response) {
|
||||
|
||||
@@ -86,7 +86,6 @@ class ExecutingResponseCreatorTests {
|
||||
.first()
|
||||
.isNotSameAs(originalRequest)
|
||||
.satisfies(request -> {
|
||||
assertThat(request).isNotSameAs(originalRequest);
|
||||
assertThat(request.isExecuted()).isTrue();
|
||||
assertThat(request.getBody()).isNotSameAs(originalRequest.getBody());
|
||||
assertThat(request.getHeaders()).isNotSameAs(originalRequest.getHeaders());
|
||||
|
||||
Reference in New Issue
Block a user