public void CheckUsernameExistance() { Administrator user = administratorDAO.Add(new Administrator("USERNAME", "PASSWORD")); Assert.AreEqual(true, administratorDAO.CheckUsernameExistance("USERNAME", user.ID + 1)); Assert.AreEqual(false, administratorDAO.CheckUsernameExistance("USERNAME", user.ID)); }