public function testDeletePath()
{
$filesystem = $this->getMock('League\\Flysystem\\FilesystemInterface');
$filesystem->expects($this->any())->method('delete')->will($this->returnValue(true));
$this->assertTrue($this->writer->deletePath($filesystem, 'path'));
$filesystem = $this->getMock('League\\Flysystem\\FilesystemInterface');
$filesystem->expects($this->any())->method('delete')->will($this->returnValue(false));
$this->assertFalse($this->writer->deletePath($filesystem, 'path'));
}