public void AddExpense()
        {
            dataProvider.AddExpenseItem(1, 10, "Gaz");
            var gaz = dataProvider.GetMonthlyCashStatementCategories()[0];

            dataProvider.AddMonthlyCashStatement(gaz, month(1), 01.01.of2009(), 20, "tourne");

            persistentStorageMock.Verify(x => x.Set(dataContainer), Times.Exactly(2));
            CollectionAssert.AreEqual(
                new[] { new MonthlyCashStatement(gaz, month(1), 01.01.of2009(), 20, "tourne") },
                dataProvider.GetMonthlyCashMovements());
        }
        public void MonthlyExpensesAreCopied()
        {
            dataProvider.CalculationPeriod = 01.01.of2009() - 30.01.of2009();
            dataProvider.AddExpenseItem(1, 1, "Gaz");
            dataProvider.AddMonthlyCashStatement(dataProvider.GetMonthlyCashStatementCategories().Single(), new YearMonth(1, 2009), 05.01.of2009(), 5, "");
            //

            var preprocessor = CreatePreprocessor();

            CollectionAssert.AreEquivalent(
                dataProvider.GetMonthlyCashMovements(),
                preprocessor.MonthlyCashMovements.ToList());
        }