@Test
public void testFailureDispatch() throws Exception {
MockApplication<?> app = application("plugin.controller.lifecycle.failuredispatch").init();
MockClient client = app.client();
MockViewBridge render = client.render();
render.assertFailure(ConcurrentModificationException.class);
Integer count = Registry.get("count");
assertEquals((Integer)2, count);
}