public void TestSetup() { this.simulator = new IdentityRestServiceSimulator(); this.ServiceLocator = new ServiceLocator(); var manager = this.ServiceLocator.Locate<IServiceLocationOverrideManager>(); manager.RegisterServiceInstance(typeof(IHttpAbstractionClientFactory), new IdentityRestServiceSimulatorFactory(simulator)); }
public void TestSetup() { this.simulator = new IdentityRestServiceSimulator(); this.ServiceLocator = new ServiceLocator(); var manager = this.ServiceLocator.Locate <IServiceLocationOverrideManager>(); manager.RegisterServiceInstance(typeof(IHttpAbstractionClientFactory), new IdentityRestServiceSimulatorFactory(simulator)); }
public void TestCleanup() { this.simulator = new IdentityRestServiceSimulator(); this.ServiceLocator = new ServiceLocator(); }
public IdentityRestServiceSimulatorFactory(IdentityRestServiceSimulator simulator) { this.Simulator = simulator; }