def METHOD_NAME(self):
    self.ProductAttributeFuel.write({"max_val": 20, "min_val": 10})
    self.ProductAttributeFuel.custom_type = "integer"
    with self.assertRaises(ValidationError):
        self.ProductAttributeFuel.validate_custom_val(5)
    self.ProductAttributeFuel.write({"max_val": 0, "min_val": 10})
    self.ProductAttributeFuel.custom_type = "integer"
    with self.assertRaises(ValidationError):
        self.ProductAttributeFuel.validate_custom_val(5)
    self.ProductAttributeFuel.write({"min_val": 0, "max_val": 20})
    self.ProductAttributeFuel.custom_type = "integer"
    with self.assertRaises(ValidationError):
        self.ProductAttributeFuel.validate_custom_val(25)