def METHOD_NAME(self):
    """Test allowed values - ranges and values combination"""
    allowed_value1 = AllowedValue()
    allowed_value1.allowed_type = ALLOWEDVALUETYPE.RANGE
    allowed_value1.minval = 1
    allowed_value1.maxval = 11
    allowed_value1.spacing = 2
    allowed_value1.range_closure = RANGECLOSURETYPE.CLOSED
    allowed_value2 = AllowedValue()
    allowed_value2.allowed_type = ALLOWEDVALUETYPE.VALUE
    allowed_value2.value = 15
    inpt = get_input(allowed_values=[allowed_value1, allowed_value2])
    inpt.data = 1
    self.assertTrue(validate_allowed_values(inpt, MODE.SIMPLE), 'Range CLOSED closure')
    inpt.data = 15
    self.assertTrue(validate_allowed_values(inpt, MODE.SIMPLE), 'AllowedValue')
    inpt.data = 13
    self.assertFalse(validate_allowed_values(inpt, MODE.SIMPLE), 'Out of range')