public function testApiSetAll_SetsAll_WhenOverwriteFlagIsSet()
{
$protocol = $this->createProtocol();
$this->assertSame(['', '', '', '', '', '', 0], $protocol->getAll());
$protocol->setAll(['type', 'pid', 'dest', 'origin', 'message', 'ex', 5], true);
$this->assertSame(['type', 'pid', 'dest', 'origin', 'message', 'ex', 5], $protocol->getAll());
}