Polishing
This commit is contained in:
parent
d781ac0c92
commit
59d60c60cf
|
|
@ -173,8 +173,8 @@ public final class MockMvc {
|
|||
}
|
||||
|
||||
@Override
|
||||
public ResultActions andDo(ResultHandler printer) throws Exception {
|
||||
printer.handle(mvcResult);
|
||||
public ResultActions andDo(ResultHandler handler) throws Exception {
|
||||
handler.handle(mvcResult);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -119,7 +119,6 @@ public class JavaConfigTests {
|
|||
assertNotNull(parent);
|
||||
assertTrue(parent instanceof WebApplicationContext);
|
||||
WebApplicationContext root = (WebApplicationContext) parent;
|
||||
assertFalse(root.getBeansOfType(String.class).containsKey("bar"));
|
||||
|
||||
ServletContext childServletContext = wac.getServletContext();
|
||||
assertNotNull(childServletContext);
|
||||
|
|
|
|||
Loading…
Reference in New Issue