@Test
public void testGetContentSupplier() throws Exception {

    final TemplateModel content = mock(TemplateModel.class);
    doReturn(content).when(presenter).getModel();
    final Supplier<TemplateModel> contentSupplier = presenter.getContentSupplier();
    assertEquals(content, contentSupplier.get());
}