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