public static XmlDocument TestDeleteRequest() { ReferenceDataManager.SetSource(ReferenceDataManager.SourceTypes.ConfigFile); IConfigurationRepository configurationRepository = new ConfigFileConfigurationRepository(); ILoggingService loggingService = new Log4NetLoggingService(configurationRepository, new ThreadContextService()); GovTalkMessageCreator deleteRequestCreator = new GovTalkMessageCreator(new DeleteRequestMessageBuilder(loggingService), loggingService); deleteRequestCreator.SetCorrelationId("87E1E8A7F16147A6B87962E07933B406"); deleteRequestCreator.CreateGovTalkMessage(); XmlDocument xd = deleteRequestCreator.SerializeGovTalkMessage(); GovTalkMessageHelper helper = new GovTalkMessageHelper(configurationRepository, loggingService); xd = helper.UpdateMessageForProductionGateway(xd); return xd; }