@Test
public void testIndexMessageShouldSendMessage() {

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