/**
  * @dataProvider observableFilesystemManagerProvider
  */
 public function testApiSetVisibility_ThrowsException_WhenFsDoesNotExist(FilesystemManagerInterface $man, ObjectProphecy $p1, ObjectProphecy $p2)
 {
     $visibility = 'visibility';
     $this->setExpectedException(WriteException::class);
     $man->setVisibility('not_fs://path', $visibility);
 }