'Verify that class is constructed correctly'

def checkClass(self):

    try:
        assert hasattr(self, 'graph')
        assert getattr(self, 'NameFinder')
        assert getattr(self, 'FunctionGen')
        assert getattr(self, 'ClassGen')
    except AssertionError as msg:
        intro = ('Bad    class    construction    for    %s' % self.__class__.__name__)
        raise AssertionError, intro
