Respect\Validation\Rules\ReadableTest::testValidReadableFileShouldReturnTrue PHP Method

testValidReadableFileShouldReturnTrue() public method

    public function testValidReadableFileShouldReturnTrue()
    {
        $GLOBALS['is_readable'] = true;
        $rule = new Readable();
        $input = '/path/of/a/valid/readable/file.txt';
        $this->assertTrue($rule->validate($input));
    }