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