/** * @expectedException Stalxed\FileSystem\Exception\PathNotFoundException */ public function testIsEmpty_UnknownPath() { $fileinfo = new FileInfo($this->storage->getPath('nonexistent_directory/nonexistent.file')); $fileinfo->isEmpty(); }
/** * @expectedException Stalxed\FileSystem\Exception\PathNotFoundException */ public function testIsEmpty_UnknownPath() { $fileinfo = new FileInfo($this->storage->getPath('nonexistent_directory/nonexistent.file')); $fileinfo->isEmpty(); }