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