/// <summary> /// Initializes a new instance of the <see cref="GangwayHistoryRepositoryTests"/> class. /// </summary> public GangwayHistoryRepositoryTests() { this.httpClientHelper = new Mock<IHttpClientHelper>(); Business.Dependencies.Register(); Dependencies.Register(); DIContainer.Instance.RegisterInstance<IHttpClientHelper>(this.httpClientHelper.Object); this.gangwayHistoryRepository = DIContainer.Instance.Resolve<IGangwayHistoryRepository>(); }
/// <summary> /// Initializes a new instance of the <see cref="GangwayHistoryManager"/> class. /// </summary> /// <param name="gangwayHistoryRepository">The gangway history repository.</param> public GangwayHistoryManager(IGangwayHistoryRepository gangwayHistoryRepository) { this.gangwayHistoryRepository = gangwayHistoryRepository; }
/// <summary> /// Initializes a new instance of the <see cref="GangwayHistoryManager"/> class. /// </summary> /// <param name="repository">The repository.</param> public GangwayHistoryManager(IGangwayHistoryRepository repository) { this.repository = repository; }