public void ReplyOptions_GetReplyToRoute_Should_Return_Configured_Reply_Route() { const string expectedReplyToAddress = "custom replyTo address"; var options = new ReplyOptions(); options.RouteReplyTo(expectedReplyToAddress); Assert.AreEqual(expectedReplyToAddress, options.GetReplyToRoute()); }
public void ReplyOptions_GetReplyToRoute_Should_Return_Null_When_No_Route_Configured() { var options = new ReplyOptions(); Assert.IsNull(options.GetReplyToRoute()); }