/**
  * @covers DmFileman\Service\FileManager\FileManager
  */
 public function testGetListReturnsListWithRealFiles()
 {
     $fileInfoMock = $this->getFileInfo();
     $splFileInfoMock = $this->getSplFileInfo();
     $this->factory->expects($this->any())->method('getFileInfo')->will($this->returnValue($fileInfoMock));
     $this->factory->expects($this->any())->method('getSplFileInfo')->will($this->returnValue($splFileInfoMock));
     $this->factory->expects($this->any())->method('getFilesystemIterator')->will($this->returnValue([$splFileInfoMock, $splFileInfoMock]));
     $result = $this->sut->getList('/');
     $this->assertSame([$fileInfoMock, $fileInfoMock], $result);
 }