Example #1
0
        public void Controller_ValidateRequest_ThrowOutOfRangeMore()
        {
            ILoanRequest loanRequest = new LoanRequestMock();

            loanRequest.LoanAmount = 16000.0;
            controller.ValidateRequest(loanRequest);
        }
Example #2
0
        public void Controller_ValidateRequest_ThrowIncrement()
        {
            ILoanRequest loanRequest = new LoanRequestMock();

            loanRequest.LoanAmount = 1350.0;
            controller.ValidateRequest(loanRequest);
        }
Example #3
0
        public void Controller_ValidateRequest_ThrowNotAvailable()
        {
            ILoanRequest loanRequest = new LoanRequestMock();

            loanRequest.LoanAmount = 10100.0;
            controller.ValidateRequest(loanRequest);
        }