public function testGet() { $json = json_encode(['city' => 'Pajala']); $imago = new Value($json); $imago = new JsonDecoder($imago); $should = (object) ['city' => 'Pajala']; $this->assertEquals($should, $imago->get()); }