filteredDistributions = DistributionServiceUtilities.filterDistributions(distributions, areaTree, statusTree,
hideMarkedAreas, NO_PREFER_AGGREGATED, statusOrderPreference, subAreaPreference, true);
Assert.assertEquals("Europe should be removed as it is an ancestor of berlin", 1, filteredDistributions.size());
//do not remove other area
Distribution distFrance = Distribution.NewInstance(Country.FRANCE(), PresenceAbsenceTerm.NATIVE());
filteredDistributions = DistributionServiceUtilities.filterDistributions(distributions, areaTree, statusTree,
hideMarkedAreas, NO_PREFER_AGGREGATED, statusOrderPreference, subAreaPreference, true);
Assert.assertEquals("Europe should be removed as it is an ancestor of berlin", 1, filteredDistributions.size());
//do not remove other area
Distribution distFrance = Distribution.NewInstance(Country.FRANCE(), PresenceAbsenceTerm.NATIVE());