/// <summary> /// Initializes a new instance of the <see cref="GuestDataTests"/> class. /// </summary> public GuestDataTests() { this.guestRepository = new Mock<IGuestRepository>(); this.shipRepository = new Mock<IShipRepository>(); this.applicationSettings = new Mock<IApplicationSettings>(); this.referenceDataRepository = new Mock<IReferenceDataRepository>(); this.personStatusRepository = new Mock<IPersonStatusRepository>(); this.shipTimeRepository = new Mock<IShipTimeRepository>(); this.guestData = new GuestData(this.guestRepository.Object, this.shipRepository.Object, this.applicationSettings.Object, this.referenceDataRepository.Object, this.personStatusRepository.Object, this.shipTimeRepository.Object); }
/// <summary> /// Initializes a new instance of the <see cref="GuestManager"/> class. /// </summary> /// <param name="guestData">The guest data.</param> public GuestManager(IGuestData guestData) { this.guestData = guestData; }