public void TestSetup() { this.ServiceLocator = new ServiceLocator(); this.pocoClient = new TestIdentityServicePocoClient(); var manager = this.ServiceLocator.Locate<IServiceLocationOverrideManager>(); manager.RegisterServiceInstance(typeof(IIdentityServicePocoClientFactory), new TestIdentityServicePocoClientFactory(pocoClient)); }
public void TestSetup() { this.ServiceLocator = new ServiceLocator(); this.pocoClient = new TestIdentityServicePocoClient(); var manager = this.ServiceLocator.Locate <IServiceLocationOverrideManager>(); manager.RegisterServiceInstance(typeof(IIdentityServicePocoClientFactory), new TestIdentityServicePocoClientFactory(pocoClient)); }
public void TestCleanup() { this.pocoClient = new TestIdentityServicePocoClient(); this.ServiceLocator = new ServiceLocator(); }