test_class.declarator: businessObjectDefinitionDao
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private BusinessObjectDefinitionDao businessObjectDefinitionDao;
test_class.type: BusinessObjectDefinitionDao
test_class.var_name: businessObjectDefinitionDao
test_class.declarator: businessObjectDefinitionDescriptionSuggestionDao
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private BusinessObjectDefinitionDescriptionSuggestionDao businessObjectDefinitionDescriptionSuggestionDao;
test_class.type: BusinessObjectDefinitionDescriptionSuggestionDao
test_class.var_name: businessObjectDefinitionDescriptionSuggestionDao
test_class.declarator: businessObjectDefinitionDescriptionSuggestionStatusDao
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private BusinessObjectDefinitionDescriptionSuggestionStatusDao businessObjectDefinitionDescriptionSuggestionStatusDao;
test_class.type: BusinessObjectDefinitionDescriptionSuggestionStatusDao
test_class.var_name: businessObjectDefinitionDescriptionSuggestionStatusDao
test_class.declarator: businessObjectDefinitionDescriptionSuggestionDaoHelper
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private BusinessObjectDefinitionDescriptionSuggestionDaoHelper businessObjectDefinitionDescriptionSuggestionDaoHelper;
test_class.type: BusinessObjectDefinitionDescriptionSuggestionDaoHelper
test_class.var_name: businessObjectDefinitionDescriptionSuggestionDaoHelper
test_class.file: herd-code/herd-service/src/test/java/org/finra/herd/service/helper/BusinessObjectDefinitionDescriptionSuggestionDaoHelperTest.java
test_class.identifier: BusinessObjectDefinitionDescriptionSuggestionDaoHelperTest
test_class.superclass: extends AbstractServiceTest
test_case.body: @Test
      public void testGetBusinessObjectDefinitionDescriptionSuggestionEntity()
      {
          // Setup
          BusinessObjectDefinitionEntity businessObjectDefinitionEntity = mock(BusinessObjectDefinitionEntity.class);
  
          // Create a business object definition description suggestion entity.
          BusinessObjectDefinitionDescriptionSuggestionEntity businessObjectDefinitionDescriptionSuggestionEntity =
              new BusinessObjectDefinitionDescriptionSuggestionEntity();
          businessObjectDefinitionDescriptionSuggestionEntity.setBusinessObjectDefinition(businessObjectDefinitionEntity);
          businessObjectDefinitionDescriptionSuggestionEntity.setUserId(USER_ID);
          businessObjectDefinitionDescriptionSuggestionEntity.setDescriptionSuggestion(DESCRIPTION_SUGGESTION);
  
          // Setup mock interactions.
          when(businessObjectDefinitionDescriptionSuggestionDao
              .getBusinessObjectDefinitionDescriptionSuggestionByBusinessObjectDefinitionAndUserId(businessObjectDefinitionEntity, USER_ID))
              .thenReturn(businessObjectDefinitionDescriptionSuggestionEntity);
  
          // Call method under test.
          BusinessObjectDefinitionDescriptionSuggestionEntity result = businessObjectDefinitionDescriptionSuggestionDaoHelper
              .getBusinessObjectDefinitionDescriptionSuggestionEntity(businessObjectDefinitionEntity, USER_ID);
  
          // Validate result.
          assertThat("Result does not equal businessObjectDefinitionDescriptionSuggestionEntity.", result,
              is(equalTo(businessObjectDefinitionDescriptionSuggestionEntity)));
  
          // Verify mocks interactions.
          verify(businessObjectDefinitionDescriptionSuggestionDao)
              .getBusinessObjectDefinitionDescriptionSuggestionByBusinessObjectDefinitionAndUserId(businessObjectDefinitionEntity, USER_ID);
          verifyNoMoreInteractions(businessObjectDefinitionDescriptionSuggestionDao);
      }
test_case.class_method_signature: BusinessObjectDefinitionDescriptionSuggestionDaoHelperTest.testGetBusinessObjectDefinitionDescriptionSuggestionEntity()
test_case.full_signature: @Test public void testGetBusinessObjectDefinitionDescriptionSuggestionEntity()
test_case.identifier: testGetBusinessObjectDefinitionDescriptionSuggestionEntity
test_case.invocations: mock setBusinessObjectDefinition setUserId setDescriptionSuggestion thenReturn when getBusinessObjectDefinitionDescriptionSuggestionByBusinessObjectDefinitionAndUserId getBusinessObjectDefinitionDescriptionSuggestionEntity assertThat is equalTo getBusinessObjectDefinitionDescriptionSuggestionByBusinessObjectDefinitionAndUserId verify verifyNoMoreInteractions
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetBusinessObjectDefinitionDescriptionSuggestionEntity()
focal_class.declarator: businessObjectDefinitionDao
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private BusinessObjectDefinitionDao businessObjectDefinitionDao;
focal_class.type: BusinessObjectDefinitionDao
focal_class.var_name: businessObjectDefinitionDao
focal_class.declarator: businessObjectDefinitionDescriptionSuggestionDao
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private BusinessObjectDefinitionDescriptionSuggestionDao businessObjectDefinitionDescriptionSuggestionDao;
focal_class.type: BusinessObjectDefinitionDescriptionSuggestionDao
focal_class.var_name: businessObjectDefinitionDescriptionSuggestionDao
focal_class.declarator: businessObjectDefinitionDescriptionSuggestionStatusDao
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private BusinessObjectDefinitionDescriptionSuggestionStatusDao businessObjectDefinitionDescriptionSuggestionStatusDao;
focal_class.type: BusinessObjectDefinitionDescriptionSuggestionStatusDao
focal_class.var_name: businessObjectDefinitionDescriptionSuggestionStatusDao
focal_class.file: herd-code/herd-service/src/main/java/org/finra/herd/service/helper/BusinessObjectDefinitionDescriptionSuggestionDaoHelper.java
focal_class.identifier: BusinessObjectDefinitionDescriptionSuggestionDaoHelper
focal_class.class_method_signature: BusinessObjectDefinitionDescriptionSuggestionDaoHelper.getBusinessObjectDefinitionDescriptionSuggestionEntity(
          final BusinessObjectDefinitionEntity businessObjectDefinitionEntity, final String userId)
focal_class.full_signature: public BusinessObjectDefinitionDescriptionSuggestionEntity getBusinessObjectDefinitionDescriptionSuggestionEntity(
          final BusinessObjectDefinitionEntity businessObjectDefinitionEntity, final String userId)
focal_class.identifier: getBusinessObjectDefinitionDescriptionSuggestionEntity
focal_class.modifiers: public
focal_class.parameters: (
          final BusinessObjectDefinitionEntity businessObjectDefinitionEntity, final String userId)
focal_class.return: BusinessObjectDefinitionDescriptionSuggestionEntity
focal_class.signature: BusinessObjectDefinitionDescriptionSuggestionEntity getBusinessObjectDefinitionDescriptionSuggestionEntity(
          final BusinessObjectDefinitionEntity businessObjectDefinitionEntity, final String userId)
focal_class.class_method_signature: BusinessObjectDefinitionDescriptionSuggestionDaoHelper.getBusinessObjectDefinitionDescriptionSuggestionsByBusinessObjectDefinitionAndStatus(
          final BusinessObjectDefinitionKey businessObjectDefinitionKey, final String status)
focal_class.full_signature: public List<BusinessObjectDefinitionDescriptionSuggestionEntity> getBusinessObjectDefinitionDescriptionSuggestionsByBusinessObjectDefinitionAndStatus(
          final BusinessObjectDefinitionKey businessObjectDefinitionKey, final String status)
focal_class.identifier: getBusinessObjectDefinitionDescriptionSuggestionsByBusinessObjectDefinitionAndStatus
focal_class.modifiers: public
focal_class.parameters: (
          final BusinessObjectDefinitionKey businessObjectDefinitionKey, final String status)
focal_class.return: List<BusinessObjectDefinitionDescriptionSuggestionEntity>
focal_class.signature: List<BusinessObjectDefinitionDescriptionSuggestionEntity> getBusinessObjectDefinitionDescriptionSuggestionsByBusinessObjectDefinitionAndStatus(
          final BusinessObjectDefinitionKey businessObjectDefinitionKey, final String status)
focal_method.body: public BusinessObjectDefinitionDescriptionSuggestionEntity getBusinessObjectDefinitionDescriptionSuggestionEntity(
          final BusinessObjectDefinitionEntity businessObjectDefinitionEntity, final String userId)
      {
          BusinessObjectDefinitionDescriptionSuggestionEntity businessObjectDefinitionDescriptionSuggestionEntity =
              businessObjectDefinitionDescriptionSuggestionDao
                  .getBusinessObjectDefinitionDescriptionSuggestionByBusinessObjectDefinitionAndUserId(businessObjectDefinitionEntity, userId);
  
          if (businessObjectDefinitionDescriptionSuggestionEntity == null)
          {
              throw new ObjectNotFoundException(String.format("Business object definition description suggestion with the parameters " +
                      " {namespace=\"%s\", businessObjectDefinitionName=\"%s\", userId=\"%s\"} does not exist.",
                  businessObjectDefinitionEntity.getNamespace().getCode(), businessObjectDefinitionEntity.getName(), userId));
          }
  
          return businessObjectDefinitionDescriptionSuggestionEntity;
      }
focal_method.class_method_signature: BusinessObjectDefinitionDescriptionSuggestionDaoHelper.getBusinessObjectDefinitionDescriptionSuggestionEntity(
          final BusinessObjectDefinitionEntity businessObjectDefinitionEntity, final String userId)
focal_method.full_signature: public BusinessObjectDefinitionDescriptionSuggestionEntity getBusinessObjectDefinitionDescriptionSuggestionEntity(
          final BusinessObjectDefinitionEntity businessObjectDefinitionEntity, final String userId)
focal_method.identifier: getBusinessObjectDefinitionDescriptionSuggestionEntity
focal_method.invocations: getBusinessObjectDefinitionDescriptionSuggestionByBusinessObjectDefinitionAndUserId format getCode getNamespace getName
focal_method.modifiers: public
focal_method.parameters: (
          final BusinessObjectDefinitionEntity businessObjectDefinitionEntity, final String userId)
focal_method.return: BusinessObjectDefinitionDescriptionSuggestionEntity
focal_method.signature: BusinessObjectDefinitionDescriptionSuggestionEntity getBusinessObjectDefinitionDescriptionSuggestionEntity(
          final BusinessObjectDefinitionEntity businessObjectDefinitionEntity, final String userId)