assertThat(mChild4.getId(), is("child4"));
}
@Test
public void testIfEngineeringObjectInformationIsAdded_shouldAddEOInformation() throws Exception {
EngineeringObjectModel model = new EngineeringObjectModel();
model.setModelAId("testReferenceToModelA");
model.setModelBId("testReferenceToModelB");
List<EDBObject> objects = converter.convertModelToEDBObject(model, getTestConnectorInformation());
assertThat(objects.size(), is(1));
EDBObject result = objects.get(0);
String key1 = getReferenceString(model.getClass(), "modelAId");
String key2 = getReferenceString(model.getClass(), "modelBId");
assertThat(result.getString(key1), is(CONTEXT_ID + "/testReferenceToModelA"));
assertThat(result.getString(key2), is(CONTEXT_ID + "/testReferenceToModelB"));
}