public void CanCreditCashAccountMultipleTimes()
        {
            var testContext = new AccountTestContext();

            testContext.Create(Workspace, AccountService);
            testContext.MakeSale(100);
            testContext.MakeSale(200);
            testContext.MakeRefund(50);
            var balance = AccountService.GetAccountBalance(testContext.CashAccount.Id);

            Assert.AreEqual(250, balance);
        }
        public void CanDebitCashAccount()
        {
            var testContext = new AccountTestContext();

            testContext.Create(Workspace, AccountService);
            testContext.MakeSale(100);
            Workspace.CommitChanges();
            var balance = AccountService.GetAccountBalance(testContext.CashAccount.Id);

            Assert.AreEqual(100, balance);
        }