public void CheckUserLoginTest()
 {
     BusinessLogicHandler target = new BusinessLogicHandler();
     string userId = "1234567890"; // not existing ID
     string password = "******";
     bool expected = false;
     bool actual;
     actual = target.CheckUserLogin(userId, password);
     Assert.AreEqual(expected, actual);
 }
 public void CheckAdministratorLoginTest()
 {
     BusinessLogicHandler target = new BusinessLogicHandler();
     string username = "******";
     string password = "******";
     bool expected = false;
     bool actual;
     actual = target.CheckAdministratorLogin(username, password);
     Assert.AreEqual(expected, actual);
 }
 public void CreateSessionForAdministratorTest()
 {
     BusinessLogicHandler target = new BusinessLogicHandler();
     string username = "******";
     SessionInfo actual = target.CreateSessionForAdministrator(username);
     Assert.AreEqual(actual.UserId, 1);
 }
 public void CreateSessionForUserTest()
 {
     BusinessLogicHandler target = new BusinessLogicHandler();
     string userId = "1";
     SessionInfo actual = target.CreateSessionForUser(userId);
     Assert.AreEqual(actual.UserId.ToString(), userId);
 }