public function testVoid_Write() { $args = new \ThriftTest\ThriftTest_testVoid_args(); $args->write($this->protocol); $actual = $this->transport->read(BUFSIZ); $expected = TestTSimpleJSONProtocol_Fixtures::$testArgsJSON['testVoid']; $this->assertEquals($expected, $actual); }
public function testVoid_Read() { $this->transport->write(TestTJSONProtocol_Fixtures::$testArgsJSON['testVoid']); $args = new \ThriftTest\ThriftTest_testVoid_args(); $args->read($this->protocol); }