Ejemplo n.º 1
0
 /**
  * @test
  */
 public function folderRepositoryCanBeSet()
 {
     $repo = $this->prophesize('Xi\\Filelib\\Folder\\FolderRepositoryInterface')->reveal();
     $filelib = new FileLibrary($this->getMockedStorageAdapter(), $this->getMockedBackendAdapter());
     $filelib->setFolderRepository($repo);
     $this->assertSame($repo, $filelib->getFolderRepository());
 }