BudgetAnalyser.Engine.UnitTest.Budget.IncomeTest.NegativeAmountIsNotValid C# (CSharp) Method

NegativeAmountIsNotValid() private method

private NegativeAmountIsNotValid ( ) : void
return void
        public void NegativeAmountIsNotValid()
        {
            Income subject = CreateSubject();
            subject.Amount = -5;

            bool result = subject.Validate(Logs);

            Assert.IsFalse(result);
            Assert.IsTrue(Logs.Length > 0);
        }