public function testApiSetDestination_SetsDestination_WhenDestinationIsSetAndOverwriteFlagIsSet()
{
$protocol = $this->createProtocol('', '', 'destinationOld');
$this->assertSame('destinationOld', $protocol->getDestination());
$protocol->setDestination('destination', true);
$this->assertSame('destination', $protocol->getDestination());
}