Bluz\Tests\Validator\Rule\LengthTest::testLengthOutsideBoundsShouldThrowLengthException PHP Method

testLengthOutsideBoundsShouldThrowLengthException() public method

public testLengthOutsideBoundsShouldThrowLengthException ( $string, $min, $max )
    public function testLengthOutsideBoundsShouldThrowLengthException($string, $min, $max)
    {
        $validator = new Length($min, $max, false);
        $this->assertFalse($validator->validate($string));
        $this->assertNotEmpty($validator->getTemplate());
    }