public function testJsonExport() { $this->export->setPackageId($this->package1->getId()); $this->export->setLocale('en'); $this->export->setFormat(Export::JSON); $this->export->setPath(self::$fixturePath . '/'); $this->export->setFilename('sulu'); $this->export->execute(); $expectedHash = file_get_contents(self::$fixturePath . '/samples/export.json'); $actualHash = file_get_contents(self::$fixturePath . '/sulu.en.json'); $this->assertEquals($expectedHash, $actualHash); }