private void assertDenyAll(String packageName) throws Exception {
MockApplication<?> application = application(InjectorProvider.GUICE, packageName);
application.init();
MockClient client = application.client();
MockViewBridge view1 = client.render();
assertInstanceOf(Response.Error.Forbidden.class, view1.assertError());
client.addRole("foo");
MockViewBridge view2 = client.render();
assertInstanceOf(Response.Error.Forbidden.class, view2.assertError());
}