Former\LiveValidationTest::testCanSetMaxToText PHP Method

testCanSetMaxToText() public method

public testCanSetMaxToText ( )
    public function testCanSetMaxToText()
    {
        $this->former->withRules(array('foo' => 'max:42'));
        $input = $this->former->text('foo')->__toString();
        $matcher = $this->matchField(array('maxlength' => '42'));
        $this->assertHTML($matcher, $input);
        $this->assertControlGroup($input);
    }
LiveValidationTest