assertTrue("Missing inheritance relationship in sub class " + clazz.getUniqueName() + " to " + superClass.getUniqueName(), containsInheritsTo > 0);
}
@Test
public void testUnresolvedInterfaces(){
FamixClass interfaceClass = (FamixClass) aModel.getElement(aFactory.createClass("<undef>.SomeInterface",null));
FamixClass baseClass = (FamixClass) aModel.getElement(aFactory.createClass("testPackage.Test",null));
assertNotNull(interfaceClass);
assertNotNull(baseClass);
Set<FamixAssociation> lRelations = aModel.getAssociations(baseClass);
assertTrue("FamixClass " + baseClass.getUniqueName() + " must contain relationships", lRelations.size() > 0);
int containsInheritsTo = TestHelper.containsRelationTo(interfaceClass, lRelations);
assertTrue("Missing inheritance relationship in class" + baseClass.getUniqueName() + " to " + interfaceClass.getUniqueName(), containsInheritsTo > 0);
lRelations = aModel.getAssociations(interfaceClass);
assertTrue("FamixClass " + interfaceClass.getUniqueName() + " must contain relationships", lRelations.size() > 0);
containsInheritsTo = TestHelper.containsRelationTo(interfaceClass, lRelations);
assertTrue("Missing inheritance relationship in sub class " + baseClass.getUniqueName() + " to " + interfaceClass.getUniqueName(), containsInheritsTo > 0);
}