### Question:
CreateEntity implements Operation { public CreateEntity(NewEntity newEntity) { super(); this.newEntity = newEntity; } CreateEntity(NewEntity newEntity); NewEntity newEntity(); @Override String toString();  }### Answer:
@Test public void testCreateEntity() { NewEntity newEntity = util.createNewEntity(TartanImplTestConstants.ATTR_PARENT_ID); CreateEntity createEntity = new CreateEntity(newEntity); NewEntity newEntity2 = createEntity.newEntity(); AssertJUnit.assertEquals(newEntity2.getEntityID(), newEntity.getEntityID()); String expectedToString = "Operation [Create Entity] Entity ID [" + newEntity.getEntityID().getRawID() + "]"; AssertJUnit.assertEquals(expectedToString, createEntity.toString()); }