Beispiel #1
0
        public WithdrawFixture(AccountFixture <Startup> accountFixture)
        {
            var account = new Account(new Owner(10, "Maria N."), 3, 10000);

            _accountFixture = accountFixture;
            _accountFixture.AddMoreAccounts(account);
        }
        public DefaultAccountFixture(AccountFixture <Startup> accountFixture)
        {
            _accountFixture = accountFixture;

            _checkpoint = new Checkpoint {
                DbAdapter      = DbAdapter.MySql,
                TablesToIgnore = new[] { "Accounts", "Owner" }
            };

            var account = new Account(new Owner(4, "Alex A."), 4, 10000);

            _accountFixture.AddMoreAccounts(account);
        }