public void testLifeCycle() throws Exception {
Registry.unset("request.filter.lifecycle");
MockApplication<?> app = application("plugin.controller.requestfilter.lifecycle").init();
Tools.list(app.getLifeCycle().resolveBeans(RequestFilter.class));
assertEquals("created", Registry.get("request.filter.lifecycle"));
MockClient client = app.client();
MockViewBridge render = client.render();
assertEquals("after", Registry.get("request.filter.lifecycle"));
}