{
allowing(mockConfiguration).getString(ExplorationAuthenticatorConstants.USERS);
will(returnValue("fred, sven:admin|sales|marketing, bob:sales, dick"));
}
});
authenticator = new ExplorationAuthenticator(mockConfiguration);
this.session = (MultiUserExplorationSession) authenticator.authenticate(new AuthenticationRequestExploration(), "");
final Set<String> availableSessions = session.getUserNames();
Assert.assertEquals(4, availableSessions.size());
Assert.assertTrue(availableSessions.contains("fred"));