new PropertyDefinitionImpl(propertyDefinitionImpls.get(0).getCategory(), domainURI);
// Calculate the result from a compareTo of this new PropertyDefinition (anotherOne) and the
// pre-constructed one that has the same PropertyCategory.
int result =
newPropDef.compareTo(propertyDefinitionImpls.get(0));
// The above result should be equal to the compareTo for the DomainURI
assertTrue
( result ==
(domainURI.compareTo(propertyDefinitionImpls.get(0).getTypedefURI()))