public void SignInOkTest() { var dal = new ImageMarkingUsersDALImpl(new InfraDAL(), _configuration); var result = dal.GetUser("*****@*****.**"); Assert.IsTrue(result.Tables[0].Rows.Count > 0); }
public void RemoveUser() { var dal = new ImageMarkingUsersDALImpl(new InfraDAL(), _configuration); var result = dal.UnSubscribeUser("*****@*****.**"); result = dal.GetUser("*****@*****.**"); Assert.AreEqual(0, result.Tables[0].Rows.Count); }
public void CreateUser() { var dal = new ImageMarkingUsersDALImpl(new InfraDAL(), _configuration); var result = dal.CreateUser("*****@*****.**", "111111"); result = dal.GetUser("*****@*****.**"); Assert.IsTrue(result.Tables[0].Rows.Count > 0); }