public function testApiSetOrigin_SetsOrigin_WhenOriginIsSetAndOverwriteFlagIsSet()
{
$protocol = $this->createProtocol('', '', '', 'originOld');
$this->assertSame('originOld', $protocol->getOrigin());
$protocol->setOrigin('origin', true);
$this->assertSame('origin', $protocol->getOrigin());
}