*/
@Test
@DatabaseSetup(value = DATASET_BASIC_USER)
@DatabaseTearDown(value = DATASET_BASIC_USER, type = DatabaseOperation.DELETE)
public void testCheckSessionValue() throws Exception {
UzerDTO user1 = authenticationService.login(BASIC_USER_EMAIL, BASIC_USER_PASSWORD);
assertNotNull(user1);
assertEquals(user1.getPassword(), ENCRYPTED_USER_PASSWORD);
UzerDTO user2 = authenticationService.checkSessionValue(ENCRYPTED_USER_EMAIL);
assertEquals(user1, user2);
user2 = authenticationService.checkSessionValue(null);
assertNull(user2);
user2 = authenticationService.checkSessionValue("wduh@uhef.qwe");