public function testApiSetType_SetsType_WhenTypeIsSetAndOverwriteFlagIsSet()
{
$protocol = $this->createProtocol('typeOld');
$this->assertSame('typeOld', $protocol->getType());
$protocol->setType('type', true);
$this->assertSame('type', $protocol->getType());
}