Closes gh-11792
This commit is contained in:
Johnny Lim
2018-01-26 22:38:50 +09:00
committed by Stephane Nicoll
parent aa36288cee
commit a46e047c5d
13 changed files with 18 additions and 19 deletions

View File

@@ -112,7 +112,7 @@ public class ServletEndpointDiscovererTests {
}
@Test
public void getEndpointWhenEndpoinSuppliesNullShouldThrowException() {
public void getEndpointWhenEndpointSuppliesNullShouldThrowException() {
load(TestServletEndpointSupplierOfNull.class, (discoverer) -> {
this.thrown.expect(IllegalStateException.class);
this.thrown.expectMessage("must not supply null");

View File

@@ -142,7 +142,7 @@ public class HttpExchangeTracerTests {
public void mixedCaseCookieHeaderIsNotIncludedByDefault() {
HttpTrace trace = new HttpExchangeTracer(EnumSet.of(Include.REQUEST_HEADERS))
.receivedRequest(createRequest(Collections.singletonMap(
mixedCase(HttpHeaders.COOKIE), Arrays.asList("valuet"))));
mixedCase(HttpHeaders.COOKIE), Arrays.asList("value"))));
Request request = trace.getRequest();
assertThat(request.getHeaders()).isEmpty();
}
@@ -285,7 +285,7 @@ public class HttpExchangeTracerTests {
}
@Test
public void timeTakedCanBeIncluded() {
public void timeTakenCanBeIncluded() {
HttpTrace trace = new HttpTrace(createRequest());
new HttpExchangeTracer(EnumSet.of(Include.TIME_TAKEN)).sendingResponse(trace,
createResponse(), null, null);