public void getUserByIdDB() { for (int i = 0; i < 4; i++) { db.RegisterUser("test" + i, "" + i, "email" + i, null); } Assert.AreEqual(db.getUserById(db.Login("test0", "0")).id, db.getUserByEmail("email0").id); Assert.AreNotEqual(db.getUserById(db.Login("test1", "1")).id, db.getUserByEmail("email2").id); }