### Question:
Objective implements Trackable<Long> { public Objective getCopyWithoutRelations() { Objective copy = new Objective(); copy.setContactPersonId(this.getContactPersonId()); copy.setName(this.getName()); copy.setDescription(this.getDescription()); copy.setRemark(this.getRemark()); copy.setActive(this.isActive()); copy.setSequence(this.getSequence()); return copy; }  boolean hasParentObjective(); boolean hasContactPerson(); boolean isActive(); void setActive(boolean isActive); Objective getCopyWithoutRelations();  }### Answer:
@Test public void getCopyWithoutRelations_expectedNotNull() { Objective actualObjective = expectedObjective.getCopyWithoutRelations(); Assert.assertNotNull(actualObjective); }
@Test public void getCopyWithoutRelations_expectedCopyNotOriginal() { Objective actualObjective = expectedObjective.getCopyWithoutRelations(); Assert.assertNotEquals(expectedObjective, actualObjective); }
@Test public void getCopyWithoutRelations_expectedIdNotCopied() { Objective actualObjective = expectedObjective.getCopyWithoutRelations(); Assert.assertNotEquals(expectedObjective.getId(), actualObjective.getId()); }
@Test public void getCopyWithoutRelations_expectedNoRelations() { Objective actualObjective = expectedObjective.getCopyWithoutRelations(); Assert.assertNull(actualObjective.getParentObjective()); Assert.assertNull(actualObjective.getParentOkrUnit()); }