} catch (IllegalArgumentException e) {
assertThat(e, exception("interceptor"));
}
// add
URIBrokerInterceptor i1 = createMock(URIBrokerInterceptor.class);
URIBrokerInterceptor i2 = createMock(URIBrokerInterceptor.class);
broker.addInterceptor(i1);
broker.addInterceptor(i2);
assertTrue(broker.hasInterceptors());