public function testConstructorThrowsErrorOnInvalidTypeDetectionMode($mode) { $this->packer->setTypeDetectionMode($mode); }