Former\LiveValidationTest::testCanSetDatetimeAsBeforeSomething PHP Method

testCanSetDatetimeAsBeforeSomething() public method

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