@Test public void isBoolean() { assertTrue("is not proper boolean", cfg.isBoolean(BOOLEAN, MANDATORY)); assertTrue("did not detect missing field", expectInvalidField(() -> cfg.isBoolean("none", MANDATORY))); assertTrue("is not proper boolean", cfg.isBoolean("none", OPTIONAL)); assertTrue("did not detect bad boolean", expectInvalidField(() -> cfg.isBoolean(TEXT, MANDATORY))); }
protected boolean isBoolean(String field, FieldPresence presence) { return isBoolean(object, field, presence); }
Config { protected boolean isBoolean(String field, FieldPresence presence) { return isBoolean(object, field, presence); } }
Config { protected boolean isBoolean(String field, FieldPresence presence) { return isBoolean(object, field, presence); }  }
Config { protected boolean isBoolean(String field, FieldPresence presence) { return isBoolean(object, field, presence); }  final void init(S subject, String key, JsonNode node, ObjectMapper mapper,
                     ConfigApplyDelegate delegate); boolean isValid(); S subject(); String key(); JsonNode node(); void apply(); }
Config { protected boolean isBoolean(String field, FieldPresence presence) { return isBoolean(object, field, presence); }  final void init(S subject, String key, JsonNode node, ObjectMapper mapper,
                     ConfigApplyDelegate delegate); boolean isValid(); S subject(); String key(); JsonNode node(); void apply();  }