public void TestSetup() { this.StorageServiceRestClient = new TestStorageServiceRestClient(); this.ServiceLocator = new ServiceLocator(); var manager = this.ServiceLocator.Locate<IServiceLocationOverrideManager>(); manager.RegisterServiceInstance(typeof(IStorageServiceRestClientFactory), new TestStorageServiceRestClientFactory(StorageServiceRestClient)); }
public void TestCleanup() { this.StorageServiceRestClient = new TestStorageServiceRestClient(); this.ServiceLocator = new ServiceLocator(); }