public void TestSetup()
        {
            this.simulator = new NetworkRestSimulator();
            this.ServiceLocator = new ServiceLocator();

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