public DefaultActivator(IObjectFactory objectFactory, IServiceDependencyInspector serviceDependencyInspector, IServiceEntryResolver serviceEntryResolver, ServiceEntry entry) { _objectFactory = objectFactory; _serviceEntryResolver = serviceEntryResolver; _serviceDependencyInspector = serviceDependencyInspector; _entry = entry; }
public override void Setup() { base.Setup(); _entry = ServiceEntryHelper.NewEntry(); _objectFactory = _mocks.StrictMock<IObjectFactory>(); _serviceDependencyInspector = _mocks.DynamicMock<IServiceDependencyInspector>(); _serviceEntryResolver = _mocks.DynamicMock<IServiceEntryResolver>(); _activatorFactory = new DefaultActivatorFactory(_objectFactory, _serviceDependencyInspector, _serviceEntryResolver); }