### Question:
Equipment extends IdObject implements Nameable, Cloneable { @Override public Equipment clone() { try { return (Equipment) super.clone(); } catch (CloneNotSupportedException ex) { throw new AssertionError(); } } Equipment(int id); @Override String getName(); void setName(String name); boolean isNotInUse(); void setNotInUse(boolean notInUse); @Override String toString(); @Override Equipment clone();  }### Answer:
@Test public void testClone() { Equipment eOrg = new Equipment(123); eOrg.setName("Equip"); eOrg.setNotInUse(true); Equipment eClone = eOrg.clone(); assertFalse(eOrg == eClone); assertEquals(123, eClone.getId()); assertEquals("Equip", eClone.getName()); assertTrue(eClone.isNotInUse()); }