Respect\Validation\ValidatorTest::testShouldReturnValidatorInstanceWhenTheNotRuleIsCalledWithArguments PHP Method

testShouldReturnValidatorInstanceWhenTheNotRuleIsCalledWithArguments() public method

Regression test #174.
    public function testShouldReturnValidatorInstanceWhenTheNotRuleIsCalledWithArguments()
    {
        $validator = new Validator();
        $this->assertSame($validator, $validator->not($validator->notEmpty()));
    }