public void TestSetup() { this.ComputeServiceRestClient = new TestComputeServiceRestClient(); this.ServiceLocator = new ServiceLocator(); var manager = this.ServiceLocator.Locate<IServiceLocationOverrideManager>(); manager.RegisterServiceInstance(typeof(IComputeServiceRestClientFactory), new TestComputeServiceRestClientFactory(ComputeServiceRestClient)); }
public void TestCleanup() { this.ComputeServiceRestClient = new TestComputeServiceRestClient(); this.ServiceLocator = new ServiceLocator(); }