@Test
public void testEqualsNegativeMinCard() {
OWLObjectProperty prop = OP(IRI());
// Different cardinality
OWLObjectCardinalityRestriction restA = testSubject
.getOWLObjectMinCardinality(3, prop, testSubject.getOWLThing());
OWLObjectCardinalityRestriction restB = testSubject
.getOWLObjectMinCardinality(4, prop, testSubject.getOWLThing());
assertFalse(restA.equals(restB));
// Different property
OWLObjectCardinalityRestriction restC = testSubject
.getOWLObjectMinCardinality(3, OP(IRI()),
testSubject.getOWLThing());
OWLObjectCardinalityRestriction restD = testSubject
.getOWLObjectMinCardinality(3, OP(IRI()),
testSubject.getOWLThing());
assertFalse(restC.equals(restD));
// Different filler
OWLObjectCardinalityRestriction restE = testSubject
.getOWLObjectMinCardinality(3, prop, C(IRI()));
OWLObjectCardinalityRestriction restF = testSubject
.getOWLObjectMinCardinality(3, prop, C(IRI()));
assertFalse(restE.equals(restF));
}