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