@Test
public void random_id() {
service = (RequestContextChainingServiceImpl) factory.getBean("rc2");
SessionRequestContextFactoryImpl f = getFactory(service, SessionRequestContextFactoryImpl.class);
SessionConfig config = f.getConfig();
RandomIDGenerator rid = (RandomIDGenerator) config.getId().getGenerator();
assertEquals(16, rid.getLength());
}