def test_get_rules_for_obj_type(self):
    self.assertEqual(len(rule_domain.get_rules_for_obj_type('NonnegativeInt')), 1)
    self.assertEqual(len(rule_domain.get_rules_for_obj_type('Real')), 7)
    self.assertEqual(len(rule_domain.get_rules_for_obj_type('Null')), 0)
    self.assertEqual(len(rule_domain.get_rules_for_obj_type('FakeObjType')), 0)
def test_get_rules_for_obj_type(self):
    self.assertEqual(len(rule_domain.get_rules_for_obj_type('NonnegativeInt')), 1)
    self.assertEqual(len(rule_domain.get_rules_for_obj_type('Real')), 7)
    self.assertEqual(len(rule_domain.get_rules_for_obj_type('Null')), 0)
    self.assertEqual(len(rule_domain.get_rules_for_obj_type('FakeObjType')), 0)