in pojo/src/main/java/com/spotify/hamcrest/pojo/IsPojo.java [154:170]
public void describeTo(Description description) {
description.appendText(cls().getSimpleName()).appendText(" {\n");
methodHandlers()
.forEach(
(methodName, handler) -> {
final Matcher<?> matcher = handler.matcher();
description.appendText(" ").appendText(methodName).appendText("(): ");
Description innerDescription = new StringDescription();
matcher.describeTo(innerDescription);
indentDescription(description, innerDescription);
});
description.appendText("}");
}