public void TestGetChildAreas()
        {
            var code1 = "a";
            var code2 = "b";
            var code3 = "c";

            var areas = new List<Area>
            {
                Area(code1),Area(code2),Area(code3)
            };

            var parentAreaWithChildAreas = new ParentAreaWithChildAreas(null, areas, AreaTypeIds.County);
            var codes = parentAreaWithChildAreas.GetChildAreaCodes();

            Assert.AreEqual(3, codes.Count());

            foreach (var area in areas)
            {
                Assert.IsTrue(codes.Contains(area.Code));
            }
        }
 public ChildAreasForPdfs(ParentAreaWithChildAreas parentAreaWithChildAreas, Area benchmark)
 {
     Parent = parentAreaWithChildAreas.Parent;
     Children = parentAreaWithChildAreas.Children;
     Benchmark = benchmark;
 }