Polishing

This commit is contained in:
Sam Brannen 2016-06-07 16:24:50 +02:00
parent eaa9511921
commit de78f05707
1 changed files with 3 additions and 3 deletions

View File

@ -128,7 +128,7 @@ public class HandlerResultMatchers {
@Override @Override
public void match(MvcResult result) throws Exception { public void match(MvcResult result) throws Exception {
HandlerMethod handlerMethod = getHandlerMethod(result); HandlerMethod handlerMethod = getHandlerMethod(result);
assertThat("HandlerMethod", handlerMethod.getMethod().getName(), matcher); assertThat("Handler method", handlerMethod.getMethod().getName(), matcher);
} }
}; };
} }
@ -141,7 +141,7 @@ public class HandlerResultMatchers {
@Override @Override
public void match(MvcResult result) throws Exception { public void match(MvcResult result) throws Exception {
HandlerMethod handlerMethod = getHandlerMethod(result); HandlerMethod handlerMethod = getHandlerMethod(result);
assertEquals("HandlerMethod", name, handlerMethod.getMethod().getName()); assertEquals("Handler method", name, handlerMethod.getMethod().getName());
} }
}; };
} }
@ -154,7 +154,7 @@ public class HandlerResultMatchers {
@Override @Override
public void match(MvcResult result) throws Exception { public void match(MvcResult result) throws Exception {
HandlerMethod handlerMethod = getHandlerMethod(result); HandlerMethod handlerMethod = getHandlerMethod(result);
assertEquals("HandlerMethod", method, handlerMethod.getMethod()); assertEquals("Handler method", method, handlerMethod.getMethod());
} }
}; };
} }