### Question:
EntityVersion implements Serializable { public String toString() { return entity + ":" + version; } EntityVersion();  EntityVersion(String entity, String version); String getEntity(); void setEntity(String entity); String getVersion(); void setVersion(String v); boolean equals(Object o); boolean equalsVersion(EntityVersion o); int hashCode(); String toString();  }### Answer:
@Test public void testToStringEntityNull() { entityVersion = new EntityVersion(null, version); assertTrue(entityVersion.toString().contains(version)); }
@Test public void testToStringVersionNull() { entityVersion = new EntityVersion(entity, null); assertTrue(entityVersion.toString().contains(entity)); }