public void GetMessageId_Should_Return_Defined_Id() { const string expectedMessageID = "expected message id"; var options = new PublishOptions(); options.SetMessageId(expectedMessageID); Assert.AreEqual(expectedMessageID, options.GetMessageId()); }