Former\LiveValidationTest::testCanApplyRulesByChaining PHP Method

testCanApplyRulesByChaining() public method

    public function testCanApplyRulesByChaining()
    {
        $input = $this->former->number('foo')->rule('max', 10)->__toString();
        $matcher = $this->matchField(array('max' => 10), 'number');
        $this->assertControlGroup($input);
        $this->assertHTML($matcher, $input);
    }
LiveValidationTest