/** * {@inheritdoc} */ public function calibrate(Test $test) { $test->getPacked(); }
/** * {@inheritdoc} */ public function sanitize(Test $test) { if ($test->getPacked() !== \msgpack_pack($test->getRaw())) { throw new \UnexpectedValueException('$packed !== msgpack_pack($raw)'); } }