/** * @expectedException \FileSystem\FileException * @expectedExceptionMessage Файл с префиксом */ public function testFileNotFound() { $this->directory = new Directory(__DIR__); $this->directory->getHouseFile(); }
private function parentedBy(Directory $parent) { $this->parent = $parent; $parent->add($this); }