test_class.declarator: configurationHelper
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private ConfigurationHelper configurationHelper;
test_class.type: ConfigurationHelper
test_class.var_name: configurationHelper
test_class.declarator: jsonHelper
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private JsonHelper jsonHelper;
test_class.type: JsonHelper
test_class.var_name: jsonHelper
test_class.declarator: notificationMessagePublishingService
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private NotificationMessagePublishingService notificationMessagePublishingService;
test_class.type: NotificationMessagePublishingService
test_class.var_name: notificationMessagePublishingService
test_class.declarator: searchIndexUpdateHelper
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private SearchIndexUpdateHelper searchIndexUpdateHelper;
test_class.type: SearchIndexUpdateHelper
test_class.var_name: searchIndexUpdateHelper
test_class.file: herd-code/herd-service/src/test/java/org/finra/herd/service/helper/SearchIndexUpdateHelperTest.java
test_class.identifier: SearchIndexUpdateHelperTest
test_class.superclass: extends AbstractServiceTest
test_case.body: @Test
      public void testModifyBusinessObjectDefinitionInSearchIndexBlankMessage()
      {
          // Create a business object data entity
          BusinessObjectDefinitionEntity businessObjectDefinitionEntity = new BusinessObjectDefinitionEntity();
          businessObjectDefinitionEntity.setId(1L);
  
          // Create a list of business object definition ids
          List<Long> businessObjectDefinitionIds = new ArrayList<>();
          businessObjectDefinitionIds.add(businessObjectDefinitionEntity.getId());
  
          // Create a search index dto
          SearchIndexUpdateDto searchIndexUpdateDto =
              new SearchIndexUpdateDto(MESSAGE_TYPE_BUSINESS_OBJECT_DEFINITION_UPDATE, businessObjectDefinitionIds, SEARCH_INDEX_UPDATE_TYPE_UPDATE);
  
          // Mock the call to external methods
          when(jsonHelper.objectToJson(searchIndexUpdateDto)).thenReturn("");
          when(configurationHelper.getProperty(ConfigurationValue.SEARCH_INDEX_UPDATE_JMS_LISTENER_ENABLED)).thenReturn("true");
          when(configurationHelper.getProperty(ConfigurationValue.SEARCH_INDEX_UPDATE_SQS_QUEUE_NAME)).thenReturn(AWS_SQS_QUEUE_NAME);
  
          // Call the method under test
          searchIndexUpdateHelper.modifyBusinessObjectDefinitionInSearchIndex(businessObjectDefinitionEntity, SEARCH_INDEX_UPDATE_TYPE_UPDATE);
  
          // Verify the calls to external methods
          verify(jsonHelper).objectToJson(searchIndexUpdateDto);
          verify(configurationHelper).getProperty(ConfigurationValue.SEARCH_INDEX_UPDATE_JMS_LISTENER_ENABLED);
          verifyNoMoreInteractionsHelper();
      }
test_case.class_method_signature: SearchIndexUpdateHelperTest.testModifyBusinessObjectDefinitionInSearchIndexBlankMessage()
test_case.full_signature: @Test public void testModifyBusinessObjectDefinitionInSearchIndexBlankMessage()
test_case.identifier: testModifyBusinessObjectDefinitionInSearchIndexBlankMessage
test_case.invocations: setId add getId thenReturn when objectToJson thenReturn when getProperty thenReturn when getProperty modifyBusinessObjectDefinitionInSearchIndex objectToJson verify getProperty verify verifyNoMoreInteractionsHelper
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testModifyBusinessObjectDefinitionInSearchIndexBlankMessage()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(SearchIndexUpdateHelper.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(SearchIndexUpdateHelper.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: configurationHelper
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private ConfigurationHelper configurationHelper;
focal_class.type: ConfigurationHelper
focal_class.var_name: configurationHelper
focal_class.declarator: jsonHelper
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private JsonHelper jsonHelper;
focal_class.type: JsonHelper
focal_class.var_name: jsonHelper
focal_class.declarator: notificationMessagePublishingService
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private NotificationMessagePublishingService notificationMessagePublishingService;
focal_class.type: NotificationMessagePublishingService
focal_class.var_name: notificationMessagePublishingService
focal_class.declarator: systemJobHelper
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private SystemJobHelper systemJobHelper;
focal_class.type: SystemJobHelper
focal_class.var_name: systemJobHelper
focal_class.file: herd-code/herd-service/src/main/java/org/finra/herd/service/helper/SearchIndexUpdateHelper.java
focal_class.identifier: SearchIndexUpdateHelper
focal_class.class_method_signature: SearchIndexUpdateHelper.modifyBusinessObjectDefinitionInSearchIndex(BusinessObjectDefinitionEntity businessObjectDefinitionEntity, String modificationType)
focal_class.full_signature: public void modifyBusinessObjectDefinitionInSearchIndex(BusinessObjectDefinitionEntity businessObjectDefinitionEntity, String modificationType)
focal_class.identifier: modifyBusinessObjectDefinitionInSearchIndex
focal_class.modifiers: public
focal_class.parameters: (BusinessObjectDefinitionEntity businessObjectDefinitionEntity, String modificationType)
focal_class.return: void
focal_class.signature: void modifyBusinessObjectDefinitionInSearchIndex(BusinessObjectDefinitionEntity businessObjectDefinitionEntity, String modificationType)
focal_class.class_method_signature: SearchIndexUpdateHelper.modifyBusinessObjectDefinitionsInSearchIndex(List<BusinessObjectDefinitionEntity> businessObjectDefinitionEntityList, String modificationType)
focal_class.full_signature: public void modifyBusinessObjectDefinitionsInSearchIndex(List<BusinessObjectDefinitionEntity> businessObjectDefinitionEntityList, String modificationType)
focal_class.identifier: modifyBusinessObjectDefinitionsInSearchIndex
focal_class.modifiers: public
focal_class.parameters: (List<BusinessObjectDefinitionEntity> businessObjectDefinitionEntityList, String modificationType)
focal_class.return: void
focal_class.signature: void modifyBusinessObjectDefinitionsInSearchIndex(List<BusinessObjectDefinitionEntity> businessObjectDefinitionEntityList, String modificationType)
focal_class.class_method_signature: SearchIndexUpdateHelper.modifyTagInSearchIndex(TagEntity tagEntity, String modificationType)
focal_class.full_signature: public void modifyTagInSearchIndex(TagEntity tagEntity, String modificationType)
focal_class.identifier: modifyTagInSearchIndex
focal_class.modifiers: public
focal_class.parameters: (TagEntity tagEntity, String modificationType)
focal_class.return: void
focal_class.signature: void modifyTagInSearchIndex(TagEntity tagEntity, String modificationType)
focal_class.class_method_signature: SearchIndexUpdateHelper.modifyTagsInSearchIndex(List<TagEntity> tagEntityList, String modificationType)
focal_class.full_signature: public void modifyTagsInSearchIndex(List<TagEntity> tagEntityList, String modificationType)
focal_class.identifier: modifyTagsInSearchIndex
focal_class.modifiers: public
focal_class.parameters: (List<TagEntity> tagEntityList, String modificationType)
focal_class.return: void
focal_class.signature: void modifyTagsInSearchIndex(List<TagEntity> tagEntityList, String modificationType)
focal_class.class_method_signature: SearchIndexUpdateHelper.getSqsQueueName()
focal_class.full_signature: private String getSqsQueueName()
focal_class.identifier: getSqsQueueName
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getSqsQueueName()
focal_class.class_method_signature: SearchIndexUpdateHelper.processMessage(String messageText)
focal_class.full_signature: private void processMessage(String messageText)
focal_class.identifier: processMessage
focal_class.modifiers: private
focal_class.parameters: (String messageText)
focal_class.return: void
focal_class.signature: void processMessage(String messageText)
focal_method.body: public void modifyBusinessObjectDefinitionInSearchIndex(BusinessObjectDefinitionEntity businessObjectDefinitionEntity, String modificationType)
      {
          List<Long> businessObjectDefinitionIds = new ArrayList<>();
          businessObjectDefinitionIds.add(businessObjectDefinitionEntity.getId());
          processMessage(
              jsonHelper.objectToJson(new SearchIndexUpdateDto(MESSAGE_TYPE_BUSINESS_OBJECT_DEFINITION_UPDATE, businessObjectDefinitionIds, modificationType)));
      }
focal_method.class_method_signature: SearchIndexUpdateHelper.modifyBusinessObjectDefinitionInSearchIndex(BusinessObjectDefinitionEntity businessObjectDefinitionEntity, String modificationType)
focal_method.full_signature: public void modifyBusinessObjectDefinitionInSearchIndex(BusinessObjectDefinitionEntity businessObjectDefinitionEntity, String modificationType)
focal_method.identifier: modifyBusinessObjectDefinitionInSearchIndex
focal_method.invocations: add getId processMessage objectToJson
focal_method.modifiers: public
focal_method.parameters: (BusinessObjectDefinitionEntity businessObjectDefinitionEntity, String modificationType)
focal_method.return: void
focal_method.signature: void modifyBusinessObjectDefinitionInSearchIndex(BusinessObjectDefinitionEntity businessObjectDefinitionEntity, String modificationType)