def test_Verified(self):
        arg = 'foo'
        legalTypes = [str, unicode]
        try:
            rc = VerifyType.VerifyTypeClass(arg, 'arg', legalTypes, 'string', int) 
            assert rc
        except TypeError:
            self.fail('Should not have raised a TypeError here')

        try:
            rc = _verifytype.verifyTypeClass(arg, 'arg', legalTypes, 'string', int)
            assert rc
        except TypeError:
            self.fail('Should not have raised a TypeError here')
    def test_VerifiedClass(self):
        arg = FakeClass
        legalTypes = [type]
        try:
            rc = VerifyType.VerifyTypeClass(arg, 'arg', legalTypes, '', dict) 
            assert rc
        except TypeError:
            self.fail('Should not have raised a TypeError here')

        try:
            rc = _verifytype.verifyTypeClass(arg, 'arg', legalTypes, 'foo', dict)
            assert rc
        except TypeError:
            self.fail('Should not have raised a TypeError here')