### Question:
FreemarkerViewRenderer extends ViewRenderer { public static BodyWriter render(Object view) { return INSTANCE.writer(view); } FreemarkerViewRenderer(Configuration configuration); static BodyWriter render(Object view); static BodyWriter render(String view, Object model); @Override BodyWriter writer(String view, Object model);  }### Answer:
@Test public void testRenderViewByName() throws Exception { assertThat(render("index"), equalTo("Lorem ipsum dolor sit amet, consectetur adipiscing elit.")); }
@Test public void testView() throws Exception { assertThat(render(new HelloView("World")), equalTo("Hello World")); }
@Test public void testWithAnnotatedView() throws Exception { assertThat(render(new Hello("World")), equalTo("Hello World")); }