/// <summary>
 ///     Initializes a new instance of the <see cref="TestWebApiServer" /> class.
 /// </summary>
 public TestWebApiServer()
 {
     UnityConfig.SetPerRequestManagerFactory(() => new ContainerControlledLifetimeManager());
     UnityConfig.ConfigureContainer();
     BaseAddress = new Uri("http://localhost:" + TestVars.AllocPortNumber());
 }