public WindsorRegistrationAssertionHelper AllComponentsCanBeResolved(IEnumerable <Type> ignoredServices = null, IEnumerable <string> ignoredComponents = null) { ignoredServices = ignoredServices ?? new List <Type>(); // TODO: Just for make unit tests past, Need solve this issue in TestingWindsorExtensions in Composable.Core ignoredServices = ignoredServices.Concat(_container.Kernel.GetAssignableHandlers(typeof(object)).Distinct() .SelectMany(x => x.ComponentModel.Services).Where(x => x.IsGenericTypeDefinition)); _container.AssertCanResolveAllComponents1(ignoredServices, ignoredComponents); return(this); }