提交 de78f057 编写于 作者: S Sam Brannen

Polishing

上级 eaa95119
...@@ -128,7 +128,7 @@ public class HandlerResultMatchers { ...@@ -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 { ...@@ -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 { ...@@ -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());
} }
}; };
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册