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(int i) { seasonStub = new SeasonStub(); seasonStub.CurrentAccount = new Account("account", "u", "e", false); eventLogic = new EventLogic(seasonStub); }