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