'Test the type info objects behave as expected.'

def testTypeInfoBoolObjects(self):

    a = type_info.Bool()
    self.assertRaises(type_info.TypeValueError, a.Validate, 2)
    self.assertRaises(type_info.TypeValueError, a.Validate, None)
    a.Validate(True)
    a.Validate(1)
