public function testI32_Read() { $this->transport->write(TestTJSONProtocol_Fixtures::$testArgsJSON['testI32']); $args = new \ThriftTest\ThriftTest_testI32_args(); $args->read($this->protocol); $actual = $args->thing; $expected = Fixtures::$testArgs['testI32']; $this->assertEquals($expected, $actual); }