public function testGet() { foreach ($this->samples as $value) { $json = new Json(json_encode($value)); $this->assertSame($value, $json->get()); $this->assertSame(json_encode($value), (string) $json); $this->assertSame(json_encode($value, JSON_PRETTY_PRINT), $json->getPretty()); } }