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

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

    public function testCanSetDateAsBeforeSomethingAsArray()
    {
        $this->former->withRules(array('foo' => array('before:2012-03-03')));
        $input = $this->former->date('foo')->__toString();
        $matcher = $this->matchField(array('max' => '2012-03-03'), 'date');
        $this->assertControlGroup($input);
        $this->assertHTML($matcher, $input);
    }
LiveValidationTest