提交 7f4bf41c 编写于 作者: R Rossen Stoyanchev

Improve exception message

Issue: SPR-12230
上级 e9dee82a
......@@ -216,7 +216,7 @@ public class MockRestServiceServer {
this.requestIterator = MockRestServiceServer.this.expectedRequests.iterator();
}
if (!this.requestIterator.hasNext()) {
throw new AssertionError("No further requests expected");
throw new AssertionError("No further requests expected: HTTP " + httpMethod + " " + uri);
}
RequestMatcherClientHttpRequest request = this.requestIterator.next();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册