DefaultMetaDataProvider implements MetadataProvider { @Override public String toString() { return new StringJoiner(", ", this.getClass().getSimpleName() + "[", "]") .add("additionalProperties = " + additionalProperties) .add("context = " + context) .toString(); }  @Override MetadataProvider init(ConfigurationContext context); @Override Map<String, String> getMetaData(String property); @Override MetadataProvider setMeta(String property, String key, String value); @Override MetadataProvider setMeta(String property, Map<String, String> metaData); @Override MetadataProvider reset(String property); @Override MetadataProvider reset(); @Override String toString();  }
@Test public void testToString() { DefaultMetaDataProvider provider = new DefaultMetaDataProvider(); assertThat(provider.init(ConfigurationContext.EMPTY).toString()) .isEqualTo("DefaultMetaDataProvider[additionalProperties = {}, context = ConfigurationContext.EMPTY]"); }