public function setUp() { parent::setUp(); $this->json = '{"foo": "bar", "baz": {"quux": "jello"}}'; $root = vfsStream::setup('foo'); $root->addChild(vfsStream::newFile('config.json')->setContent($this->json)); $this->reader = new ConfigReader(vfsStream::url('foo/config.json')); }
public function setUp() { parent::setUp(); global $mockFunctionExists; $mockFunctionExists = false; global $functionExistsValue; $functionExistsValue = true; }