public void SetUp() { seasonStub = new SeasonStub(); accountLogic = new AccountLogic(seasonStub); Maccount = new Account("SeaasonStub person", "u", "p", true); seasonStub.CurrentAccount = Maccount; }
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); }
public void SetUp() { seasonStub = new SeasonStub(); accountLogic = new AccountLogic(seasonStub); //This user is precreated by default in SeasonStub. Maccount = new Account("SeaasonStub person", "u", "p", true); //Setting CurrentAccount to Maccount enforces that we are logged in as Maccount. seasonStub.CurrentAccount = Maccount; }