### Question:
InheritingMetadataContainer implements MetadataContainer { @Override public boolean isEmpty() { return container.isEmpty(); } InheritingMetadataContainer(String subject); @Override String getSubject(); @Override Map<MetadataKey, MetadataValue> getCollection(int version); @Override MetadataValue get(MetadataKey key); @Override MetadataValue put(MetadataKey key, MetadataValue value); @Override MetadataValue remove(MetadataKey key); @Override boolean isEmpty();  }### Answer:
@Test public void testIsEmpty1() { InheritingMetadataContainer container = new InheritingMetadataContainer("s"); Assert.assertTrue(container.isEmpty()); }