public void TestToString()
        {
            IncomeType type = new IncomeType("AAA", "aaa");
            DateTime date = new DateTime(2012, 12, 21, 15, 30, 00);
            Income inc = new Income("AAA", date, 25, type);

            Assert.AreEqual("Income:\nDescription: AAA\nType: AAA - aaa\nAmount: 25\nDate: 21/12/2012 15:30:00", inc.ToString());
        }
        /// <summary>
        /// The method that will save an income
        /// </summary>
        /// <param name="type">income type</param>
        /// <param name="date">income date</param>
        /// <param name="amount">income amount</param>
        /// <param name="description">income description</param>
        public void RegisterIncome(IncomeType type, DateTime date, double amount, string description)
        {
            Income inc = new Income(description, date, amount, type);

            PersistenceFactory.GetFactory().GetRepository().GetIncomeRepository().Save(inc);
        }