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