/// <summary> /// Initializes a new instance of the <see cref="CrewDataTests"/> class. /// </summary> public CrewDataTests() { this.crewRepository = new Mock<ICrewRepository>(); this.referenceDataRepository = new Mock<IReferenceDataRepository>(); this.personStatusRepository = new Mock<IPersonStatusRepository>(); this.shipRepository = new Mock<IShipRepository>(); this.shipTimeRepository = new Mock<IShipTimeRepository>(); this.crewData = new CrewData(this.crewRepository.Object, this.referenceDataRepository.Object, this.personStatusRepository.Object, this.shipRepository.Object, this.shipTimeRepository.Object); }
/// <summary> /// Initializes a new instance of the <see cref="AuthenticateUserManager" /> class. /// </summary> /// <param name="authenticateUserData">The authenticate user data.</param> /// <param name="crewData">The crew data.</param> public AuthenticateUserManager(IAuthenticateUserData authenticateUserData, ICrewData crewData) { this.authenticateUserData = authenticateUserData; this.crewMemberData = crewData; }
/// <summary> /// Initializes a new instance of the <see cref="CrewManager"/> class. /// </summary> /// <param name="crewData">The crew data.</param> public CrewManager(ICrewData crewData) { this.crewData = crewData; }