public AccountMapper()
        {
            Account account1 = new Account(1, "My Checking", 100000);
            Account account2 = new Account(2, "My Savings", 100000);
            Account account3 = new Account(3, "My Investments", 100000);
            Account account4 = new Account(4, "Not allowed", 100000);

            arm.AddDirectReference(account1);
            arm.AddDirectReference(account2);
            arm.AddDirectReference(account3);
            HttpContext.Current.Session["AccountMapper"] = this;
        }
Esempio n. 2
0
 public void Test_AddDirectReferenceNull()
 {
     arm.AddDirectReference(null);
 }