private void CreateTestUrls(string testFileParameters)
        {
            Properties.Clear();
            using (var sr = new StreamReader(testFileParameters))
            {
                var readLine = sr.ReadLine();
                if (readLine != null)
                {
                    var properties = readLine.Split(new string[] { ",", Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries);
                    foreach (var property in properties)
                    {
                        Properties.Add(property);
                    }
                }

                while (sr.Peek() >= 0)
                {
                    var line           = sr.ReadLine();
                    var lineProperties = line.Split(new string[] { ",", Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries);
                    if (lineProperties.Length == Properties.Count)
                    {
                        var constraint = new BillProcessorTestConstraint();
                        int j          = 0;
                        foreach (var property in Properties)
                        {
                            if (Regex.IsMatch(property, "Repository", RegexOptions.IgnoreCase))
                            {
                                constraint.Repository = lineProperties[j];
                            }
                            else if (Regex.IsMatch(property, "Count"))
                            {
                                constraint.Count = Int32.Parse(lineProperties[j]);
                            }
                            else
                            {
                                constraint.BillType = lineProperties[j];
                            }
                            j++;
                        }

                        for (int i = 1; i < constraint.Count; i++)
                        {
                            var newUrl = BaseUrl + "?";
                            newUrl = string.Format("{0}{1}&{2}", newUrl, "repository=" + constraint.Repository.Replace(" ", "%20"),
                                                   "docName=" + constraint.BillType + i + "-I");
                            TestUrls.Add(newUrl);
                        }
                    }
                }
            }
        }
        private void CreateTestUrls(string testFileParameters)
        {
            Properties.Clear();
            using (var sr = new StreamReader(testFileParameters))
            {
                var readLine = sr.ReadLine();
                if (readLine != null)
                {
                    var properties = readLine.Split(new string[] { ",", Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries);
                    foreach (var property in properties)
                    {
                        Properties.Add(property);
                    }
                }

                while (sr.Peek() >= 0)
                {
                    var line = sr.ReadLine();
                    var lineProperties = line.Split(new string[] { ",", Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries);
                    if (lineProperties.Length == Properties.Count)
                    {
                        var constraint = new BillProcessorTestConstraint();
                        int j = 0;
                        foreach (var property in Properties)
                        {
                            if (Regex.IsMatch(property, "Repository", RegexOptions.IgnoreCase))
                            {
                                constraint.Repository = lineProperties[j];
                            }
                            else if (Regex.IsMatch(property, "Count"))
                            {
                                constraint.Count = Int32.Parse(lineProperties[j]);
                            }
                            else
                            {
                                constraint.BillType = lineProperties[j];
                            }
                            j++;
                        }

                        for (int i = 1; i < constraint.Count; i++)
                        {
                            var newUrl = BaseUrl + "?";
                            newUrl = string.Format("{0}{1}&{2}", newUrl, "repository=" + constraint.Repository.Replace(" ", "%20"),
                                "docName=" + constraint.BillType + i + "-I");
                            TestUrls.Add(newUrl);
                        }
                    }
                }
            }
        }