Esempio n. 1
0
        public void interestByLoanType_LoanTypeIsHousing_ReturnsCorrectValue()
        {
            LoanBusinessLogic businessLogic = new LoanBusinessLogic();

            float result = businessLogic.interestByLoanType("housing");

            Assert.AreEqual(result, 0.035f);
        }
Esempio n. 2
0
        public void interestByLoanType_LoanTypeDoesNotExist_ThrowsException()
        {
            LoanBusinessLogic businessLogic = new LoanBusinessLogic();

            businessLogic.interestByLoanType("someFakeLoanType");
        }