$this->assertEquals(array($file => new \SplFileInfo($file)), $paths);
$this->assertInstanceOf('SplFileInfo', current($paths));
$this->assertSame($dir, $resource->getPrefix());
$this->assertEquals(array($file => new \SplFileInfo($file)), $paths);
$this->assertInstanceOf('SplFileInfo', current($paths));
$this->assertSame($dir, $resource->getPrefix());