private static async Task <StepResult> ExerciseDecompress(MessagingContext context) { var sut = new DecompressAttachmentsStep(); // Act return(await sut.ExecuteAsync(context)); }
private static StepResult ExerciseDecompress(AS4Message as4Message) { var sut = new DecompressAttachmentsStep(); return(sut.ExecuteAsync(new MessagingContext(as4Message, MessagingContextMode.Receive)) .GetAwaiter() .GetResult()); }