Exemplo n.º 1
0
        public void Test_Valid_Arguments()
        {
            var interestprocessor = new InterestEvaluateProcessor();

            Assert.IsNotNull(interestprocessor.Interest(1001));
        }
Exemplo n.º 2
0
        public void Test_AccountBalancelessthanZero()
        {
            var interestprocessor = new InterestEvaluateProcessor();

            Assert.ThrowsException <ArgumentOutOfRangeException>(() => interestprocessor.Interest(-2000));
        }