/// <summary>
 /// Initializes a new instance of the <see cref="AuthorizationServiceRepositoryTests"/> class.
 /// </summary>
 public AuthorizationServiceRepositoryTests()
 {
     this.httpClientHelper = new Mock<IHttpClientHelper>();
     Business.Dependencies.Register();
     DIContainer.Instance.RegisterInstance<IHttpClientHelper>(this.httpClientHelper.Object);
     DIContainer.Instance.Resolve<IComponentSettingsEntities>().AuthorizationServiceBaseAddress = "http://qcweb03/GangwayAdminService/";
     DIContainer.Instance.RegisterType<IComponentSettingsClient, ComponentSettingsClient>();
     DIContainer.Instance.RegisterType<IAuthorizedUserClient, AuthorizedUserClient>();
     this.authorizationServiceRepository = DIContainer.Instance.Resolve<IAuthorizationServiceRepository>();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AuthorizationManager"/> class.
 /// </summary>
 /// <param name="authorizationServiceRepository">The authorization service repository.</param>
 public AuthorizationManager(IAuthorizationServiceRepository authorizationServiceRepository)
 {
     this.authorizationServiceRepository = authorizationServiceRepository;
 }