public function testSetTypeDetectionMode($mode, $raw, $packed) { $this->packer->setTypeDetectionMode($mode); $this->assertSame($packed, $this->packer->pack($raw)); }