@Test
public void testProcessMessageOriginalMessageFormat() throws Exception
{

    List<Long> ids = new ArrayList<>();
    SearchIndexUpdateDto searchIndexUpdateDto = new SearchIndexUpdateDto();
    searchIndexUpdateDto.setBusinessObjectDefinitionIds(ids);
    searchIndexUpdateDto.setModificationType(SEARCH_INDEX_UPDATE_TYPE_UPDATE);
    when(jsonHelper.unmarshallJsonToObject(SearchIndexUpdateDto.class, "PAYLOAD")).thenReturn(searchIndexUpdateDto);
    Map<Object, Object> allHeaders = new HashMap<>();
    allHeaders.put("jms_messageId", MESSAGE_ID);
    // Call the method under test
    searchIndexUpdateJmsMessageListener.processMessage("PAYLOAD", allHeaders);
    // Verify the calls to external methods
    verify(businessObjectDefinitionService, times(1))
        .updateSearchIndexDocumentBusinessObjectDefinition(any(SearchIndexUpdateDto.class));
}