DefaultMetaDataProvider implements MetadataProvider { @Override public MetadataProvider reset(String property) { Objects.requireNonNull(property, "property null"); additionalProperties.remove(property); return this; }  @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 reset() { DefaultMetaDataProvider provider = new DefaultMetaDataProvider(); assertThat(provider).isEqualTo(provider.init(ConfigurationContext.EMPTY)); provider.reset(); assertThat(provider.getMetaData("foo")).isNotNull().isEmpty(); }