### Question:
DefaultMetadataService extends AbstractMetadataCache implements MetadataService { @Override public final String toString() { final ToStringBuilder builder = new ToStringBuilder(this); builder.append("validGets", validGets); builder.append("recursiveGets", recursiveGets); builder.append("cachePuts", cachePuts); builder.append("cacheHits", cacheHits); builder.append("cacheMisses", cacheMisses); builder.append("cacheEvictions", cacheEvictions); builder.append("cacheCurrentSize", getCacheSize()); builder.append("cacheMaximumSize", getMaxCapacity()); return builder.toString().replaceFirst("@[0-9a-f]+", ":"); }  @Override void evict(final String metadataIdentificationString); @Override void evictAll(); @SuppressWarnings("unchecked") T evictAndGet(final String metadataIdentificationString); @SuppressWarnings("unchecked") T get(final String metadataIdentificationString); MetadataItem get(final String metadataIdentificationString, final boolean evictCache); void notify(final String upstreamDependency, final String downstreamDependency); @Override void put(final MetadataItem metadataItem); @Override final String toString();  }### Answer:
@Test public void testToStringOfNewInstance() { assertEquals(TO_STRING_FOR_NEW_INSTANCE, new DefaultMetadataService().toString()); }