public void testIfModelMetaDataRetrievingWorks_shouldWork() throws Exception {
TestModelDecorator model = getTestModelDecorator();
model.setName("blub");
model.setEdbId("modelmetatest/1");
EKBCommit commit = getTestEKBCommit().addInsert(model.getModel());
persist.commit(commit);
ModelWrapper wrapper = ModelWrapper.wrap(query.getModel(getTestModel(), getModelOid("modelmetatest/1")));
assertThat(wrapper.toOpenEngSBModelEntries(), notNullValue());
assertThat(wrapper.retrieveInternalModelId(), notNullValue());
assertThat(wrapper.retrieveInternalModelVersion(), notNullValue());