Consistent formatting
This commit is contained in:
@@ -79,7 +79,7 @@ public class MockFilterChainTests {
|
||||
chain.doFilter(this.request, this.response);
|
||||
fail("Expected Exception");
|
||||
}
|
||||
catch(IllegalStateException ex) {
|
||||
catch (IllegalStateException ex) {
|
||||
assertEquals("This FilterChain has already been called!", ex.getMessage());
|
||||
}
|
||||
}
|
||||
@@ -94,7 +94,7 @@ public class MockFilterChainTests {
|
||||
chain.doFilter(this.request, this.response);
|
||||
fail("Expected Exception");
|
||||
}
|
||||
catch(IllegalStateException ex) {
|
||||
catch (IllegalStateException ex) {
|
||||
assertEquals("This FilterChain has already been called!", ex.getMessage());
|
||||
}
|
||||
}
|
||||
@@ -118,7 +118,7 @@ public class MockFilterChainTests {
|
||||
chain.doFilter(this.request, this.response);
|
||||
fail("Expected Exception");
|
||||
}
|
||||
catch(IllegalStateException ex) {
|
||||
catch (IllegalStateException ex) {
|
||||
assertEquals("This FilterChain has already been called!", ex.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ public class StatusResultMatchersTests {
|
||||
|
||||
List<AssertionError> failures = new ArrayList<AssertionError>();
|
||||
|
||||
for(HttpStatus status : HttpStatus.values()) {
|
||||
for (HttpStatus status : HttpStatus.values()) {
|
||||
MockHttpServletResponse response = new MockHttpServletResponse();
|
||||
response.setStatus(status.value());
|
||||
MvcResult mvcResult = new StubMvcResult(request, null, null, null, null, null, response);
|
||||
@@ -91,9 +91,7 @@ public class StatusResultMatchersTests {
|
||||
|
||||
@Test
|
||||
public void statusRanges() throws Exception {
|
||||
|
||||
for(HttpStatus status : HttpStatus.values()) {
|
||||
|
||||
for (HttpStatus status : HttpStatus.values()) {
|
||||
MockHttpServletResponse response = new MockHttpServletResponse();
|
||||
response.setStatus(status.value());
|
||||
MvcResult mvcResult = new StubMvcResult(request, null, null, null, null, null, response);
|
||||
|
||||
Reference in New Issue
Block a user