//
MockClient client = app.client();
//
MockViewBridge render = client.render("none");
MockViewBridge mv = (MockViewBridge)client.invoke(render.assertStringResponse());
assertEquals("", mv.assertStringResponse());
//
render = client.render("0");
mv = (MockViewBridge)client.invoke(render.assertStringResponse());
assertEquals("", mv.assertStringResponse());
//
render = client.render("1");
mv = (MockViewBridge)client.invoke(render.assertStringResponse());
assertEquals(Arrays.asList("bar").toString(), mv.assertStringResponse());
//
render = client.render("2");
mv = (MockViewBridge)client.invoke(render.assertStringResponse());
assertEquals(Arrays.asList("bar_1", "bar_2").toString(), mv.assertStringResponse());
}