public async Task InsertInException_WithNotifyMessage() { var envelope = new EmptyNotifyEnvelope(_expectedId); await TestExecutionException( default(Operation), new MessagingContext(envelope), sut => sut.HandleErrorException); }
public async Task InsertOutException_IfNotifyMessage() { var context = SetupMessagingContextForOutMessage(_expectedId); var notifyEnvelope = new EmptyNotifyEnvelope(_expectedId); context.ModifyContext(notifyEnvelope); await TestHandleExecutionException( default(Operation), context, sut => sut.HandleExecutionException); }