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