### Question:
OkrCompany extends OkrUnit implements OkrParentUnit { public OkrCompany getCopyWithoutRelations() { OkrCompany copy = new OkrCompany(); copy.setHistory(this.getHistory()); copy.setName(this.getName()); copy.setLabel(this.getLabel()); return copy; }  boolean hasDepartments(); @Override Collection<OkrChildUnit> getOkrChildUnits(); @Override void setOkrChildUnits(Collection<OkrChildUnit> subDepartments); OkrCompany getCopyWithoutRelations();  }### Answer:
@Test public void getCopyWithoutRelations_expectedNotNull() { OkrCompany actualOkrCompany = expectedOkrCompany.getCopyWithoutRelations(); Assert.assertNotNull(actualOkrCompany); }
@Test public void getCopyWithoutRelations_expectedCopyNotOriginal() { OkrCompany actualOkrCompany = expectedOkrCompany.getCopyWithoutRelations(); Assert.assertNotEquals(expectedOkrCompany, actualOkrCompany); }
@Test public void getCopyWithoutRelations_expectedIdNotCopied() { OkrCompany actualOkrCompany = expectedOkrCompany.getCopyWithoutRelations(); Assert.assertNotEquals(expectedOkrCompany.getId(), actualOkrCompany.getId()); }
@Test public void getCopyWithoutRelations_expectedCorrectCopiedInformation() { OkrCompany actualOkrCompany = expectedOkrCompany.getCopyWithoutRelations(); Assert.assertEquals(originalName, actualOkrCompany.getName()); Assert.assertEquals(originalLabel, actualOkrCompany.getLabel()); }