assertTrue("Missing inheritance relationship in sub class " + clazz.getUniqueName() + " to " + superClass.getUniqueName(), containsInheritsTo > 0);
}
@Test
public void testUnresolvedInterfaces(){
FamixClass interfaceClass = (FamixClass) fModel.getElement(fFactory.createClass("<undef>.SomeInterface",null));
FamixClass baseClass = (FamixClass) fModel.getElement(fFactory.createClass("testPackage.Test",null));
assertNotNull(interfaceClass);
assertNotNull(baseClass);
Set<FamixAssociation> lRelations = fModel.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 = fModel.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);
}