public function testImport() { $this->parcel->import(array("a" => 1, "b" => 2)); $php = json_decode($this->parcel->toJson(), true); $this->assertEquals(1, $php["data"]["a"]); $this->assertEquals(2, $php["data"]["b"]); }