static void AssertResults(List<Type> results, string[] maps)
{
// Get dependency in standard ACT control dependency maps based on maps
var bundleControls = ControlDependencyMap.Maps
.Where(c => maps.Contains(c.Key.Remove(0, "AjaxControlToolkit.".Length)))
.Select(p => p.Value);
var bundleTypes = new List<Type>();
foreach (var bundleControl in bundleControls) {
bundleTypes.AddRange(bundleControl.Dependecies);
}
Assert.AreEqual(results.Count, bundleTypes.Count);
foreach (var type in bundleTypes) {
Assert.IsTrue(results.Contains(type));
}
}