@Test
public void testForwardHawtioRequestToIndexHtml() {

    Mockito.when(resolver.resolve("hawtio")).thenReturn("/actuator/hawtio");
    String result = hawtioEndpoint.forwardHawtioRequestToIndexHtml();
    assertEquals("forward:/actuator/hawtio/index.html", result);
}