public void Test_Valid_Arguments() { var interestprocessor = new InterestEvaluateProcessor(); Assert.IsNotNull(interestprocessor.Interest(1001)); }
public void Test_AccountBalancelessthanZero() { var interestprocessor = new InterestEvaluateProcessor(); Assert.ThrowsException <ArgumentOutOfRangeException>(() => interestprocessor.Interest(-2000)); }