public function testDeletingFileClearsAllChunks()
 {
     $file = file_get_contents(static::$tempFiles['15M']);
     $this->adapter->write('/test.txt', $file, $this->emptyConfig);
     $this->assertGreaterThan(0, $this->getConnection()->getRowCount('flysystem_chunk'));
     $this->adapter->delete('/test.txt');
     $this->assertEquals(0, $this->getConnection()->getRowCount('flysystem_chunk'));
 }
 public function testDeleteWithDbFailure()
 {
     $this->setupBasicDbResponse(false);
     $this->assertFalse($this->adapter->delete('/some-file.txt'));
 }