def METHOD_NAME(self):
    not_enough_items = ["Then", "Else"]
    is_string = "Then"
    is_integer = 3
    is_boolean = True
    is_dict = {"Fn::If": "some value", "Fn::And": "other value"}
    self.assertRaises(ValueError, validate_intrinsic_if_items, not_enough_items)
    self.assertRaises(ValueError, validate_intrinsic_if_items, is_string)
    self.assertRaises(ValueError, validate_intrinsic_if_items, None)
    self.assertRaises(ValueError, validate_intrinsic_if_items, is_integer)
    self.assertRaises(ValueError, validate_intrinsic_if_items, is_boolean)
    self.assertRaises(ValueError, validate_intrinsic_if_items, is_dict)