@Override
public void describeTo(Description description) {
if (expectedContents.isEmpty()) {
description.appendText("A map");
return;
}
description.appendText("A map with:");
IndentationControl.indent();
for (Map.Entry<K, Matcher<? super V>> entry : expectedContents.entrySet()) {
IndentationControl.newline(description).appendText(entry.getKey().toString()).appendText(": ").appendDescriptionOf(entry.getValue());
}
IndentationControl.outdent();
}
AMap.java 文件源码
java
阅读 29
收藏 0
点赞 0
评论 0
项目:fluvius
作者:
评论列表
文章目录