public static void PracticeRecordsAreTypeI()
        {
            var practices = new Dictionary<string, PracticeRecord>();
            var repository = new PracticeRepository(SourcePath, "*REXT.CSV");

            int nonMatches = 0;

            foreach (var practice in repository.List())
            {
                var key = practice.Code;

                if (!practices.ContainsKey(key))
                {
                    practices[key] = practice;
                }
                else
                {
                    var other = practices[key];

                    switch (other.Code)
                    {
                        case "A82028":
                        case "B83017":
                        case "B86047":
                        case "C81633":
                            break;
                        default:
                            if (!practice.Equals(other))
                            {
                                nonMatches++;
                            }
                            break;
                    }
                }
            }

            Assert.Equal(0, nonMatches);
        }
        public static void RepositoryReturnsAllTheRecords()
        {
            var repository = new PracticeRepository(SourcePath, "*REXT.CSV");
            var recordCount = repository.List().Count();

            Assert.True(recordCount > 10000);
        }