'Test the type info objects behave as expected.'

def testTypeInfoNumberObjects(self):

    a = type_info.Integer()
    self.assertRaises(type_info.TypeValueError, a.Validate, '1')
    self.assertRaises(type_info.TypeValueError, a.Validate, 'hello')
    a.Validate(1231232)
    a.Validate((-2))
