Jyxo\Input\Validator\StringLengthBetweenTest::testInvalidSetMin PHP Method

testInvalidSetMin() public method

Tests setting an invalid lower bound using a setter.
public testInvalidSetMin ( )
    public function testInvalidSetMin()
    {
        $this->expectException(\InvalidArgumentException::class);
        $validator = new StringLengthBetween(2, 6);
        $validator->setMin(12);
    }