コード例 #1
0
        public void SetUp()
        {
            seasonStub = new SeasonStub();
            accountLogic = new AccountLogic(seasonStub);

            Maccount = new Account("Maccount", "u", "*****@*****.**", true);
            seasonStub.CurrentAccount = Maccount;
            accountLogic.TryCreateAccount("Maccount", "Mpassword", "*****@*****.**");
            accountLogic = new AccountLogic(seasonStub);
        }
コード例 #2
0
ファイル: TestEventLogic.cs プロジェクト: Rabka/BDSA2014
 public void SetUp(int i)
 {
     seasonStub = new SeasonStub();
     seasonStub.CurrentAccount = new Account("account", "u", "e", false);
     eventLogic = new EventLogic(seasonStub);
 }