@Test public void isConnectPoint() { assertTrue("is not proper connectPoint", cfg.isConnectPoint(CONNECT_POINT, MANDATORY)); assertTrue("is not proper connectPoint", cfg.isConnectPoint(CONNECT_POINT, OPTIONAL)); assertTrue("is not proper connectPoint", cfg.isConnectPoint("none", OPTIONAL)); assertTrue("did not detect missing connectPoint", expectInvalidField(() -> cfg.isConnectPoint("none", MANDATORY))); assertTrue("did not detect bad connectPoint", expectInvalidField(() -> cfg.isConnectPoint(BAD_CONNECT_POINT, MANDATORY))); }
protected boolean isConnectPoint(String field, FieldPresence presence) { return isConnectPoint(object, field, presence); }
Config { protected boolean isConnectPoint(String field, FieldPresence presence) { return isConnectPoint(object, field, presence); } }
Config { protected boolean isConnectPoint(String field, FieldPresence presence) { return isConnectPoint(object, field, presence); }  }
Config { protected boolean isConnectPoint(String field, FieldPresence presence) { return isConnectPoint(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 isConnectPoint(String field, FieldPresence presence) { return isConnectPoint(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();  }