public static void Publish(GenerateCorrespondingVoucherRequest request, string jobIdentifier, string routingKey)
        {
            Requests.Add(request);

            Task.WaitAll(RequestExchange.PublishAsync(request, jobIdentifier, routingKey));
        }
        private void InitializeTestData()
        {
            sampleGenerateCorrespondingVoucherRequest = new GenerateCorrespondingVoucherRequest
            {
                jobIdentifier = "NCST-6e5bc63b-be84-4053-a4ce-191abbd69f27",
                generateVoucher = new VoucherInformation[]
                {
                    new VoucherInformation
                    {
                        voucherBatch = new VoucherBatch
                        {
                            scannedBatchNumber = string.Empty
                        },
                        voucherProcess = new VoucherProcess
                        {
                        },
                        voucher = new Voucher
                        {
                        }
                    }
                }
            };

            sampleDipsQueue = new DipsQueue
            {
                ResponseCompleted = false,
                S_LOCATION = "GenerateCorrespondingVoucher",
                S_LOCK = "0"
            };

            sampleDipsNabChqs = new List<DipsNabChq>
            {
                new DipsNabChq
                {
                    
                },
                new DipsNabChq
                {
                   
                }
            };

            sampleDipsDbIndexes = new List<DipsDbIndex>
            {
                new DipsDbIndex
                {
                },
                new DipsDbIndex
                {
                }
            };
        }