/** * @dataProvider observableFilesystemManagerProvider */ public function testApiIsPrivate_ThrowsException_WhenFsDoesNotExist(FilesystemManagerInterface $man, ObjectProphecy $p1, ObjectProphecy $p2) { $this->setExpectedException(ReadException::class); $man->isPrivate('not_fs://path'); }