NameVersion { public Name getName() { return name; } NameVersion(Name name, Version version); Name getName(); Version getVersion(); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode();  }
@Test public void retainsName() { assertEquals(NAME_1, new NameVersion(NAME_1, V1).getName()); }