@Test public void testDoLogout() throws Exception { accountService.addUser(testUser); accountService.doLogin(TEST_SESSION_ID, testLoginRequest); final boolean result = accountService.doLogout(TEST_SESSION_ID); assertTrue(result); }
@Test public void testDoLogoutNoSessionFail() throws Exception { final boolean result = accountService.doLogout(INVALID_SESSION_ID); assertFalse(result); }