@Test
public void testGetLoginSession() {

	LoginSessionToken loginSession = new LoginSessionToken();
	String tokenString = RememberMeTokenUtil.serialize(loginSession, "kilgrave", Arrays.asList("role1", "role2"));
	LoginSessionToken loginSessionExtracted  = RememberMeTokenUtil.getLoginSession(tokenString);
	assertThat(loginSession, Matchers.is(loginSessionExtracted));
}