protected void contains_an_account(account_service_test_context context)
 {
     context.AccountId = 1234;
     context.Account = new Account
                           {
                               Id = context.AccountId
                           };
     context.Repository.Accounts.Add(context.AccountId, context.Account);
 }
 protected void contains_an_account(account_service_test_context context)
 {
     context.AccountId = 1234;
     context.Account   = new Account
     {
         Id = context.AccountId
     };
     context.Repository.Accounts.Add(context.AccountId, context.Account);
 }
 protected void give_me_all_the_money(account_service_test_context context, Account account)
 {
     Assert.Fail("Failed on purpose");
 }
 protected void the_account_should_have_an_activity_date_of_today(account_service_test_context context, Account account)
 {
     Assert.AreEqual(DateTime.Today, account.LastActivityDate);
 }
 protected void the_account_should_have_a_zero_balance(account_service_test_context context, Account account)
 {
     Assert.AreEqual(0m, account.TotalBalance);
 }
 protected void the_account_status_should_be_frozen(account_service_test_context context, Account account)
 {
     Assert.AreEqual(AccountStatuses.Frozen, account.Status);
 }
 protected Account getting_the_account(account_service_test_context context)
 {
     return context.AccountService.GetAccount(context.AccountId);
 }
 protected void is_on_a_watch_list(account_service_test_context context)
 {
     context.WatchListService.Answer = true;
 }
 protected void has_had_activity_in_the_last_year(account_service_test_context context)
 {
     context.Account.LastActivityDate = DateTime.Today.Subtract(TimeSpan.FromDays(5));
 }
 protected void has_a_positive_balance(account_service_test_context context)
 {
     context.Account.TotalBalance = 100;
 }
 protected Account getting_the_account(account_service_test_context context)
 {
     return(context.AccountService.GetAccount(context.AccountId));
 }
 protected void is_on_a_watch_list(account_service_test_context context)
 {
     context.WatchListService.Answer = true;
 }
 protected void has_had_activity_in_the_last_year(account_service_test_context context)
 {
     context.Account.LastActivityDate = DateTime.Today.Subtract(TimeSpan.FromDays(5));
 }
 protected void has_a_positive_balance(account_service_test_context context)
 {
     context.Account.TotalBalance = 100;
 }