public void TestBook()
        {
            Account cashCredit = new Account();

            cashCredit.DebitPlus  = true;
            cashCredit.Number     = "1031";
            cashCredit.TypeCode   = "CASH_CREDIT";
            cashCredit.Balance    = 0;
            cashCredit.CurrencyId = 1;
            chartOfAccounts.AddAccount(cash);
            chartOfAccounts.AddAccount(cashCredit);
            // OMFS-200
            AccountingTransaction movementSet = new AccountingTransaction();
            Booking mvt = new Booking(2, cashCredit, 100, cash, movementSet.Date, new Branch {
                Id = 1
            });

            movementSet.AddBooking(mvt);
            chartOfAccounts.Book(movementSet);
            Assert.AreEqual(1100m, chartOfAccounts.GetAccountByTypeCode("CASH", 1).Balance.Value);
            Assert.AreEqual(-100m, chartOfAccounts.GetAccountByTypeCode("CASH_CREDIT", 1).Balance.Value);
        }