Exemplo n.º 1
0
        public void TestingUpdateAmountMethod()
        {
            //Arrange
            var currentIncome = new Income()
            {
                LsgIncome        = 10,
                JulianaDeposit   = 5,
                RolloverAmount   = 1,
                UnexpectedIncome = 1,
                FamilyGift       = 1,
            };
            var expected = 19;

            //Act
            var actual = currentIncome.UpdateBalanceAmount(1);

            //Assert
            Assert.AreEqual(expected, actual);
        }