Bluz\Tests\Validator\Rule\BetweenTest::testValuesOutBoundsShouldRaiseException PHP Method

testValuesOutBoundsShouldRaiseException() public method

public testValuesOutBoundsShouldRaiseException ( $min, $max, $inclusive, $input )
    public function testValuesOutBoundsShouldRaiseException($min, $max, $inclusive, $input)
    {
        $validator = new Between($min, $max, $inclusive);
        $this->assertFalse($validator->validate($input));
        $this->assertNotEmpty($validator->__toString());
        $this->assertFalse($validator->assert($input));
    }