public void CheckEmailTakenTest() { //arrange IAccountContext context = new TestDateContext(); AccountLogic logic = new AccountLogic(); string email = "*****@*****.**"; //act bool checkAccountTaken = logic.CheckAccountTaken(context, email); //assert Assert.IsTrue(checkAccountTaken); }
public void CheckLoginTest() { //arrange IAccountContext context = new TestDateContext(); AccountLogic logic = new AccountLogic(); string email = "*****@*****.**"; string password = "******"; //act bool checklogin = logic.CheckLogin(context, email, password); //assert Assert.IsTrue(checklogin); }