public function testPacketInfo() { $struct = pinba::get_packet_info(); $this->assertSame(array('tag1' => 0, 'value1' => 1, 'tag2' => 2, 'value2' => 3), $struct['dictionary']); //print_r($struct); }