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