use of org.whole.lang.properties.model.PropertyName in project whole by wholeplatform.
the class DescriptorsTest method testDataEntityDescriptorIndexOf.
@Test
public void testDataEntityDescriptorIndexOf() {
PropertiesEntityFactory ef = PropertiesEntityFactory.instance;
PropertyName e1 = ef.createPropertyName("pn1");
EntityDescriptor<?> ed = e1.wGetEntityDescriptor();
int i1 = ed.indexOf(CommonsFeatureDescriptorEnum.data_value);
assertEquals(0, i1);
}
Aggregations