Exemplo n.º 1
0
        public ReservationMock BaseReservation()
        {
            Value.Number      = Fake.GetReservationNumber(Key);
            Value.Status      = Fake.GetStatusReservation();
            Value.RequestDate = Fake.GetRequestDate();
            Value.Member      = MemberMock.Get(Key);

            return(this);
        }
        public ReservationMock Default()
        {
            Value.Number      = Fake.GetReservationNumber(Key);
            Value.Status      = Fake.GetStatusReservation(Key);
            Value.RequestDate = Fake.GetRequestDate(Key);
            Value.Member      = MemberMock.Get(Key);

            Value.Loans = new List <Loan>();
            Value.Loans.Add(LoanMock.Get(Key));

            return(this);
        }