public void Setup() { Dispatch = ResponseAwaiterDispatchTestObjects.GetProperResponseAwaiterDispatch(); NormalOrder = ProtocolTestObjects.GetNormalOrder(); NormalConfirmation = ProtocolTestObjects.GetNormalConfirmation(); NormalReply = ProtocolTestObjects.GetNormalReply(); }
public async Task Should_return_true_when_proper_Confirmation_was_sent() { bool result = await ProtocolHandler.SendAsync(ProtocolTestObjects.GetNormalConfirmation()); Assert.True(result); }