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

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

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