String[] beanNames = applicationContext.getBeanDefinitionNames();
assertTrue(Arrays.asList(beanNames).contains(beanName));
OortService service = (OortService)applicationContext.getBean(beanName);
assertNotNull(service);
Seti seti = service.seti;
assertNotNull(seti);
Oort oort = seti.getOort();
assertNotNull(oort);
BayeuxServer bayeux = oort.getBayeuxServer();
assertNotNull(bayeux);
SecurityPolicy policy = bayeux.getSecurityPolicy();