@Test public void testAuthenticate() throws SQLException { int b = UserData.authenticate("*****@*****.**", ""); assertTrue(b == -1); int c = UserData.authenticate("*****@*****.**", "234234"); assertTrue(c == -1); int d = UserData.authenticate("test@te", "1234"); assertTrue(d == -1); }