public void TestKeepRootsWithIndicatorIds()
        {
            List<GroupRoot> roots = new List<GroupRoot>{
                new GroupRoot {IndicatorId = 1},
                 new GroupRoot {IndicatorId = 2}
            };

            var indicatorIds = new List<int> { 2 };

            var filteredRoots = new GroupRootFilter(null).KeepRootsWithIndicatorIds(roots, indicatorIds);
            Assert.AreEqual(1, filteredRoots.Count);
            Assert.AreEqual(2, filteredRoots.First().IndicatorId);
        }
 private static IList<GroupRoot> RemoveRootsWithoutChildAreaData(IGroupDataReader groupDataReader, 
     List<GroupRoot> roots)
 {
     var filteredRoots = new GroupRootFilter(groupDataReader).RemoveRootsWithoutChildAreaData(roots);
     return filteredRoots;
 }