Former\LiveValidationTest::testCanSetDateAsBeforeSomething PHP Method

testCanSetDateAsBeforeSomething() public method

    public function testCanSetDateAsBeforeSomething()
    {
        $this->former->withRules(array('foo' => '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