public void Send(string Key, [SelectionList("Channels")] string Node, [SelectionList("Messages")] string Message) { var success = MessageHistory.WaitForWorkToFinish(() => { Context.State.Retrieve <ServiceBusNodes>().Send(Key, Node, Message); }); StoryTellerAssert.Fail(!success, "MessageHistory tracking failed"); }
public void Send(string Key, [SelectionList("Channels")] string Node, [SelectionList("Messages")] string Message) { MessageHistory.WaitForWorkToFinish(() => { Context.State.Retrieve <ServiceBusNodes>().Send(Key, Node, Message); }); MessageHistory.AssertFinished(); }