public function test($value) { return file_exists($value); }
public function testPathType() { $url = new PathType(); $this->assertTrue($url->test('tests')); $this->assertTrue($url->test('composer.json')); $this->assertFalse($url->test('foo/bar')); }