/** * @expectedException \Puli\Repository\Api\ResourceNotFoundException */ public function testGetChildDetached() { $resource = new FileResource($this->fixturesDir . '/dir1/file1'); $resource->getChild('file'); }