public void CreateServiceContext() { var services = new ServiceContext(); _factory = new InProcessTestRunnerFactory(); services.Add(_factory); services.ServiceManager.StartServices(); }