@Test
public void testDoc() {

    Documentation doc = new Documentation();
    ModelMap modelMap = new ModelMap();
    Mockito.when(this.geosupportServiceMock.getDocumentation()).thenReturn(doc);
    Version version = new Version();
    Mockito.when(this.geosupportServiceMock.version()).thenReturn(version);
    assertEquals(DocumentationController.DOC_VIEW_NAME, this.documentationController.doc(modelMap));
    assertSame(version, modelMap.getAttribute("version"));
    assertSame(doc, modelMap.get("doc"));
}