ChildModel model = new ChildModel();
model.setId("testId");
model.setName("testName");
model.setChild("testChild");
ModelWrapper wrapper = ModelWrapper.wrap(model);
List<OpenEngSBModelEntry> entries = wrapper.toOpenEngSBModelEntries();
assertThat((String) getEntryByName(entries, "id"), is("testId"));
assertThat((String) getEntryByName(entries, "name"), is("testName"));
assertThat((String) getEntryByName(entries, "child"), is("testChild"));
assertThat((String) wrapper.retrieveInternalModelId(), is("testId"));
assertThat((String) wrapper.retrieveInternalModelIdName(), is("id"));