@Test public void hasFields() { assertTrue("does not have mandatory field", cfg.hasFields(TEXT, LONG, DOUBLE, MAC)); assertTrue("did not detect missing field", expectInvalidField(() -> cfg.hasFields("none"))); }
protected boolean hasFields(String... mandatoryFields) { return hasFields(object, mandatoryFields); }
Config { protected boolean hasFields(String... mandatoryFields) { return hasFields(object, mandatoryFields); } }
Config { protected boolean hasFields(String... mandatoryFields) { return hasFields(object, mandatoryFields); }  }
Config { protected boolean hasFields(String... mandatoryFields) { return hasFields(object, mandatoryFields); }  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 hasFields(String... mandatoryFields) { return hasFields(object, mandatoryFields); }  final void init(S subject, String key, JsonNode node, ObjectMapper mapper,
                     ConfigApplyDelegate delegate); boolean isValid(); S subject(); String key(); JsonNode node(); void apply();  }