### Question:
ArchiveIdentifierVersion extends ArchiveIdentifier { @Override public String toString() { return "ArchiveIdentifierVersion [archiveType=" + getArchiveType() + ", nameMatchingType=" + getNameMatchingType() + ", name=" + getName() + ", version=" + version + "]"; } ArchiveIdentifierVersion(final ArchiveType archiveType, final String name, final String version); final String getVersion(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testToString() { final ArchiveIdentifierVersion ai = new ArchiveIdentifierVersion(ArchiveType.JAVA, "abc", "1.0"); Assert.assertNotNull("toString()", ai.toString()); }