DataModelDescriptor descriptor = descriptor(loader, "ModelDescriptorFactory");
assertThat(descriptor.createDataModelObject(), instanceOf(loader.modelType("Model")));
assertThat(descriptor.getDataModelComment(), is(nullValue()));
assertThat(descriptor.getPropertyDescriptors(), hasSize(1));
PropertyDescriptor property = descriptor.findPropertyDescriptor("simple");
assertThat(property, is(notNullValue()));
assertThat(property.getFieldName(), is("simple"));
assertThat(property.getTypeInfo(), is((TypeInfo) TypeInfoFactory.intTypeInfo));
assertThat(property.getFieldComment(), is(nullValue()));