@Test
public final void testDoPostShouldCallWriteFileContentToResponseWhenPathIsNotEmpty() throws ServletException, IOException {

    // GIVEN
    given(request.getPathInfo()).willReturn(null);
    // WHEN
    underTest.doPost(request, response);
    // THEN
    verify(messageFileHandler).writeFileNamesToResponse(response, path);
}