@Test
public void testProcessShouldCallIndexMessage() {

    //GIVEN
    given(fileNameProvider.getFileName(request)).willReturn(FILE_NAME);
    given(indexMessageFactory.createIndexMessage(FILE_NAME, IndexingType.ADD.getName())).willReturn(message);
    //WHEN
    underTest.process(request);
    //THEN
    verify(messageIndexer).sendMessageToIndexer(message);
}