Ejemplo n.º 1
0
        public void CreateRCTLLoan()
        {
            var loan = new Loan(new RCTLTermROC(), 0.0, 0.0, 0, DateTime.Now, DateTime.Now);

            Assert.Equal("RCTL loan", loan.TypeOfLoan());
        }
Ejemplo n.º 2
0
        public void CreateTermROCLoan()
        {
            var loan = new Loan(0.0, 0.0, 0, DateTime.Now);

            Assert.Equal("Term loan", loan.TypeOfLoan());
        }
Ejemplo n.º 3
0
        public void CreateRevolvingLoan()
        {
            var loan = new Loan(0.0, 0.0, 0, DateTime.Now, DateTime.Now);

            Assert.Equal("Revolving loan", loan.TypeOfLoan());
        }