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