Former\LiveValidationTest::testCanSetMaxToTextAsArray PHP Метод

testCanSetMaxToTextAsArray() публичный Метод

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