public void GetInterestAmountForDepositAccount_MonthsCannotBeLessThanZero() { // Arrange Individual person = new Individual(); DepositAccount deposit = new DepositAccount(person, 0.3); // Act and Assert Assert.ThrowsException <ArgumentOutOfRangeException>(() => deposit.GetInterestAmount(-2)); }