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