public void ShouldCreateStudentLoan() { var customer = AStudent(); var loanOrderAssert = new LoanOrderAssert(_loanOrderService.StudentLoanOrder(customer)); loanOrderAssert.BeCorrectForStudent(); }
public void LoadForStudentShouldHaveOnePromotion() { _mongoDbAccessor.GetPromotionDiscount("Student Promo").Returns(10); var orderLoan = new LoanOrderAssert(_loanOrderService.StudentLoanOrder(AStudent())); orderLoan.HavePromotion(1) .HavePromotionDiscount(0, 10); }