@Test
public void testDoGetWhenRequestPathInfoIsNullShouldCallHandleRequest() throws ServletException, IOException {

    //GIVEN
    given(request.getParameter(TYPE_PARAMETER)).willReturn(TEMPLATE);
    given(stubResourcePathProvider.getTemplatesPath()).willReturn(path);
    given(request.getPathInfo()).willReturn(PATH_INFO);
    //WHEN
    underTest.doGet(request, response);
    //THEN
    verify(resourceFileNameHandler).writeResourceFile(response, PATH_INFO, path);
}