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