public function testListFolder()
 {
     if (file_exists($this->testDir)) {
         Filesystem::removeFolder($this->testDir);
     }
     mkdir($this->testDir);
     file_put_contents($this->testDir . '/testfile.txt', 'dummy_data');
     $reader = $this->contentService->getReader('File:||' . $this->testDir);
     $list = $reader->getList();
     $this->assertEquals(1, count($list));
     $file = $list[0];
     $writer = $file->getWriter();
     $writer->write('new contents');
     $this->assertEquals('new contents', file_get_contents($this->testDir . '/testfile.txt'));
 }