@Test
public void testDifferentUser2() {
SecurityContextImpl securityContext = new SecurityContextImpl();
List<Authentication> authentications = new ArrayList<Authentication>();
Authentication auth1 = getAuthentication();
auth1.setUserName(null);
auth1.setUserLocale(null);
auth1.setUserOrganization(null);
Authentication auth2 = getAuthentication();
auth2.setUserName(null);
auth2.setUserLocale(null);
authentications.add(auth1);
authentications.add(auth2);
securityContext.setAuthentications("token", authentications);
Assert.assertEquals("AllowAll@ss", securityContext.getId());
Assert.assertEquals(USER_ID, securityContext.getUserId());