public void BlackOutListByNameTest() { DependencyInjectionContainer container = new DependencyInjectionContainer(); container.BlackListExport(typeof(BasicService).FullName); container.Configure( ioc => ioc.Export<BasicService>().As<IBasicService>()); IBasicService basicService = container.Locate<IBasicService>(); Assert.Null(basicService); }