/** * @test */ public function deleteEntry_success() { $key = '/path/file.txt'; $path = $this->target->getFilePath($key); $this->fileSystem->setExists($path); $this->target->deleteEntry($key); $this->assertTrue($this->fileSystem->hasDeleted($path)); }