public function testGetResource()
 {
     $resource = new DirectoryResource($this->directory);
     $this->assertSame($this->directory, $resource->getResource(), '->getResource() returns the path to the resource');
 }