public function testPathType()
{
$type = new PathType();
$this->assertTrue($type->test('tests'));
$this->assertTrue($type->test('composer.json'));
$this->assertFalse($type->test('foo/bar'));
$this->assertInstanceOf('SplFileInfo', $type->parse('composer.json'));
}