### Question:
MetaDataType implements PropertyType { @Override public String toString() { return "MetadataType{" + "name='" + NAME + '\'' + '}'; }  @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final String NAME; }### Answer:
@Test public void testToString() { MetaDataType tested = new MetaDataType(); String expected = "MetadataType{" + "name='" + MetaDataType.NAME + "\'" + "}"; assertEquals(expected, tested.toString()); }