public static function getSampleJsonString() { return trim('{' . "\n" . ' "greeting": "hello",' . "\n" . ' "to": "you"' . "\n" . '}' . "\n"); }
public function testLoad() { $json = Fixtures::getSampleJsonString(); $this->assertEquals(json_decode($json, true), $this->loader->load($json)); }