public void CanLocateTypeService_CanLocate_Wrapper_Generic(CanLocateTypeService service, IInjectionScope scope, IActivationStrategyCollection <ICompiledWrapperStrategy> collection)
        {
            scope.WrapperCollectionContainer.
            GetActivationStrategyCollection(typeof(Func <>)).Returns(collection);

            Assert.True(service.CanLocate(scope, typeof(Func <IBasicService>), null));
        }
        public void CanLocateTypeService_CanLocate_Strategy_Generic(CanLocateTypeService service, IInjectionScope scope, IActivationStrategyCollection <ICompiledExportStrategy> collection)
        {
            scope.StrategyCollectionContainer.
            GetActivationStrategyCollection(typeof(DependentService <>)).Returns(collection);

            Assert.True(service.CanLocate(scope, typeof(DependentService <IBasicService>), null));
        }
 public void CanLocateTypeService_CanLocate_Concrete(CanLocateTypeService service, IInjectionScope scope)
 {
     Assert.True(service.CanLocate(scope, typeof(BasicService), null));
 }
 public void CanLocateTypeService_CanLocate_Array(CanLocateTypeService service, IInjectionScope scope)
 {
     Assert.True(service.CanLocate(scope, typeof(IBasicService[]), null));
 }