@Test
public void init_cyclicDepends() throws Exception {
service = new URIBrokerServiceImpl(null);
service.setBrokers(new URIBrokerInfo[] { //
new URIBrokerInfo("b4", "b1", true, new GenericURIBroker()), //
new URIBrokerInfo("b1", "b2", true, new GenericURIBroker()), //
new URIBrokerInfo("b2", "b3", true, new GenericURIBroker()), //
new URIBrokerInfo("b3", "b1", true, new GenericURIBroker()), //
});
try {
service.afterPropertiesSet();
fail();