test_class.declarator: businessObjectDefinitionDescriptionSuggestionRestController
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private BusinessObjectDefinitionDescriptionSuggestionRestController businessObjectDefinitionDescriptionSuggestionRestController;
test_class.type: BusinessObjectDefinitionDescriptionSuggestionRestController
test_class.var_name: businessObjectDefinitionDescriptionSuggestionRestController
test_class.declarator: businessObjectDefinitionDescriptionSuggestionService
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private BusinessObjectDefinitionDescriptionSuggestionService businessObjectDefinitionDescriptionSuggestionService;
test_class.type: BusinessObjectDefinitionDescriptionSuggestionService
test_class.var_name: businessObjectDefinitionDescriptionSuggestionService
test_class.file: herd-code/herd-rest/src/test/java/org/finra/herd/rest/BusinessObjectDefinitionDescriptionSuggestionRestControllerTest.java
test_class.identifier: BusinessObjectDefinitionDescriptionSuggestionRestControllerTest
test_class.superclass: extends AbstractRestTest
test_case.body: @Test
      public void testGetBusinessObjectDefinitionDescriptionSuggestions()
      {
          // Create the business object definition key used to get the business object definition description suggestions
          BusinessObjectDefinitionKey businessObjectDefinitionKey = new BusinessObjectDefinitionKey(NAMESPACE, BDEF_NAME);
  
          // Create business object definition description suggestion keys.
          BusinessObjectDefinitionDescriptionSuggestionKey key = new BusinessObjectDefinitionDescriptionSuggestionKey(NAMESPACE, BDEF_NAME, USER_ID);
          BusinessObjectDefinitionDescriptionSuggestionKey key2 = new BusinessObjectDefinitionDescriptionSuggestionKey(NAMESPACE, BDEF_NAME, USER_ID_2);
  
          // Create a list of business object definition description suggestion keys.
          BusinessObjectDefinitionDescriptionSuggestionKeys businessObjectDefinitionDescriptionSuggestionKeys =
              new BusinessObjectDefinitionDescriptionSuggestionKeys(Lists.newArrayList(key, key2));
  
          // Mock calls to external method.
          when(businessObjectDefinitionDescriptionSuggestionService.getBusinessObjectDefinitionDescriptionSuggestions(businessObjectDefinitionKey))
              .thenReturn(businessObjectDefinitionDescriptionSuggestionKeys);
  
          // Get all business object definition description suggestions.
          BusinessObjectDefinitionDescriptionSuggestionKeys resultBusinessObjectDefinitionDescriptionSuggestionKeys =
              businessObjectDefinitionDescriptionSuggestionRestController.getBusinessObjectDefinitionDescriptionSuggestions(NAMESPACE, BDEF_NAME);
  
          // Verify the external calls.
          verify(businessObjectDefinitionDescriptionSuggestionService).getBusinessObjectDefinitionDescriptionSuggestions(businessObjectDefinitionKey);
          verifyNoMoreInteractions(businessObjectDefinitionDescriptionSuggestionService);
  
          // Validate the returned object.
          assertEquals(businessObjectDefinitionDescriptionSuggestionKeys, resultBusinessObjectDefinitionDescriptionSuggestionKeys);
      }
test_case.class_method_signature: BusinessObjectDefinitionDescriptionSuggestionRestControllerTest.testGetBusinessObjectDefinitionDescriptionSuggestions()
test_case.full_signature: @Test public void testGetBusinessObjectDefinitionDescriptionSuggestions()
test_case.identifier: testGetBusinessObjectDefinitionDescriptionSuggestions
test_case.invocations: newArrayList thenReturn when getBusinessObjectDefinitionDescriptionSuggestions getBusinessObjectDefinitionDescriptionSuggestions getBusinessObjectDefinitionDescriptionSuggestions verify verifyNoMoreInteractions assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetBusinessObjectDefinitionDescriptionSuggestions()
focal_class.declarator: BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX = "/businessObjectDefinitionDescriptionSuggestions"
focal_class.modifier: private static final
focal_class.original_string: private static final String BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX = "/businessObjectDefinitionDescriptionSuggestions";
focal_class.type: String
focal_class.var_name: BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX
focal_class.declarator: businessObjectDefinitionDescriptionSuggestionService
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private BusinessObjectDefinitionDescriptionSuggestionService businessObjectDefinitionDescriptionSuggestionService;
focal_class.type: BusinessObjectDefinitionDescriptionSuggestionService
focal_class.var_name: businessObjectDefinitionDescriptionSuggestionService
focal_class.file: herd-code/herd-rest/src/main/java/org/finra/herd/rest/BusinessObjectDefinitionDescriptionSuggestionRestController.java
focal_class.identifier: BusinessObjectDefinitionDescriptionSuggestionRestController
focal_class.class_method_signature: BusinessObjectDefinitionDescriptionSuggestionRestController.createBusinessObjectDefinitionDescriptionSuggestion(
          @RequestBody BusinessObjectDefinitionDescriptionSuggestionCreateRequest request)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_POST) public BusinessObjectDefinitionDescriptionSuggestion createBusinessObjectDefinitionDescriptionSuggestion(
          @RequestBody BusinessObjectDefinitionDescriptionSuggestionCreateRequest request)
focal_class.identifier: createBusinessObjectDefinitionDescriptionSuggestion
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_POST) public
focal_class.parameters: (
          @RequestBody BusinessObjectDefinitionDescriptionSuggestionCreateRequest request)
focal_class.return: BusinessObjectDefinitionDescriptionSuggestion
focal_class.signature: BusinessObjectDefinitionDescriptionSuggestion createBusinessObjectDefinitionDescriptionSuggestion(
          @RequestBody BusinessObjectDefinitionDescriptionSuggestionCreateRequest request)
focal_class.class_method_signature: BusinessObjectDefinitionDescriptionSuggestionRestController.deleteBusinessObjectDefinitionDescriptionSuggestion(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX + "/namespaces/{namespace}/businessObjectDefinitionNames/{businessObjectDefinitionName}/userIds/{userId}", method = RequestMethod.DELETE) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_DELETE) public BusinessObjectDefinitionDescriptionSuggestion deleteBusinessObjectDefinitionDescriptionSuggestion(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId)
focal_class.identifier: deleteBusinessObjectDefinitionDescriptionSuggestion
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX + "/namespaces/{namespace}/businessObjectDefinitionNames/{businessObjectDefinitionName}/userIds/{userId}", method = RequestMethod.DELETE) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_DELETE) public
focal_class.parameters: (@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId)
focal_class.return: BusinessObjectDefinitionDescriptionSuggestion
focal_class.signature: BusinessObjectDefinitionDescriptionSuggestion deleteBusinessObjectDefinitionDescriptionSuggestion(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId)
focal_class.class_method_signature: BusinessObjectDefinitionDescriptionSuggestionRestController.getBusinessObjectDefinitionDescriptionSuggestionByKey(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX + "/namespaces/{namespace}/businessObjectDefinitionNames/{businessObjectDefinitionName}/userIds/{userId}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_GET) public BusinessObjectDefinitionDescriptionSuggestion getBusinessObjectDefinitionDescriptionSuggestionByKey(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId)
focal_class.identifier: getBusinessObjectDefinitionDescriptionSuggestionByKey
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX + "/namespaces/{namespace}/businessObjectDefinitionNames/{businessObjectDefinitionName}/userIds/{userId}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_GET) public
focal_class.parameters: (@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId)
focal_class.return: BusinessObjectDefinitionDescriptionSuggestion
focal_class.signature: BusinessObjectDefinitionDescriptionSuggestion getBusinessObjectDefinitionDescriptionSuggestionByKey(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId)
focal_class.class_method_signature: BusinessObjectDefinitionDescriptionSuggestionRestController.getBusinessObjectDefinitionDescriptionSuggestions(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX + "/namespaces/{namespace}/businessObjectDefinitionNames/{businessObjectDefinitionName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_ALL_GET) public BusinessObjectDefinitionDescriptionSuggestionKeys getBusinessObjectDefinitionDescriptionSuggestions(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName)
focal_class.identifier: getBusinessObjectDefinitionDescriptionSuggestions
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX + "/namespaces/{namespace}/businessObjectDefinitionNames/{businessObjectDefinitionName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_ALL_GET) public
focal_class.parameters: (@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName)
focal_class.return: BusinessObjectDefinitionDescriptionSuggestionKeys
focal_class.signature: BusinessObjectDefinitionDescriptionSuggestionKeys getBusinessObjectDefinitionDescriptionSuggestions(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName)
focal_class.class_method_signature: BusinessObjectDefinitionDescriptionSuggestionRestController.searchBusinessObjectDefinitionDescriptionSuggestions(
          @RequestParam(value = "fields", required = false, defaultValue = "") Set<String> fields,
          @RequestBody BusinessObjectDefinitionDescriptionSuggestionSearchRequest request)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX + "/search", method = RequestMethod.POST, consumes = { "application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_SEARCH_POST) public BusinessObjectDefinitionDescriptionSuggestionSearchResponse searchBusinessObjectDefinitionDescriptionSuggestions(
          @RequestParam(value = "fields", required = false, defaultValue = "") Set<String> fields,
          @RequestBody BusinessObjectDefinitionDescriptionSuggestionSearchRequest request)
focal_class.identifier: searchBusinessObjectDefinitionDescriptionSuggestions
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX + "/search", method = RequestMethod.POST, consumes = { "application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_SEARCH_POST) public
focal_class.parameters: (
          @RequestParam(value = "fields", required = false, defaultValue = "") Set<String> fields,
          @RequestBody BusinessObjectDefinitionDescriptionSuggestionSearchRequest request)
focal_class.return: BusinessObjectDefinitionDescriptionSuggestionSearchResponse
focal_class.signature: BusinessObjectDefinitionDescriptionSuggestionSearchResponse searchBusinessObjectDefinitionDescriptionSuggestions(
          @RequestParam(value = "fields", required = false, defaultValue = "") Set<String> fields,
          @RequestBody BusinessObjectDefinitionDescriptionSuggestionSearchRequest request)
focal_class.class_method_signature: BusinessObjectDefinitionDescriptionSuggestionRestController.updateBusinessObjectDefinitionDescriptionSuggestion(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId,
          @RequestBody BusinessObjectDefinitionDescriptionSuggestionUpdateRequest request)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX + "/namespaces/{namespace}/businessObjectDefinitionNames/{businessObjectDefinitionName}/userIds/{userId}", method = RequestMethod.PUT, consumes = { "application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_PUT) public BusinessObjectDefinitionDescriptionSuggestion updateBusinessObjectDefinitionDescriptionSuggestion(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId,
          @RequestBody BusinessObjectDefinitionDescriptionSuggestionUpdateRequest request)
focal_class.identifier: updateBusinessObjectDefinitionDescriptionSuggestion
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX + "/namespaces/{namespace}/businessObjectDefinitionNames/{businessObjectDefinitionName}/userIds/{userId}", method = RequestMethod.PUT, consumes = { "application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_PUT) public
focal_class.parameters: (@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId,
          @RequestBody BusinessObjectDefinitionDescriptionSuggestionUpdateRequest request)
focal_class.return: BusinessObjectDefinitionDescriptionSuggestion
focal_class.signature: BusinessObjectDefinitionDescriptionSuggestion updateBusinessObjectDefinitionDescriptionSuggestion(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId,
          @RequestBody BusinessObjectDefinitionDescriptionSuggestionUpdateRequest request)
focal_class.class_method_signature: BusinessObjectDefinitionDescriptionSuggestionRestController.acceptBusinessObjectDefinitionDescriptionSuggestion(
          @RequestBody BusinessObjectDefinitionDescriptionSuggestionAcceptanceRequest request)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX + "/acceptance", method = RequestMethod.POST, consumes = { "application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_ACCEPTANCE_POST) public BusinessObjectDefinitionDescriptionSuggestion acceptBusinessObjectDefinitionDescriptionSuggestion(
          @RequestBody BusinessObjectDefinitionDescriptionSuggestionAcceptanceRequest request)
focal_class.identifier: acceptBusinessObjectDefinitionDescriptionSuggestion
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX + "/acceptance", method = RequestMethod.POST, consumes = { "application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_ACCEPTANCE_POST) public
focal_class.parameters: (
          @RequestBody BusinessObjectDefinitionDescriptionSuggestionAcceptanceRequest request)
focal_class.return: BusinessObjectDefinitionDescriptionSuggestion
focal_class.signature: BusinessObjectDefinitionDescriptionSuggestion acceptBusinessObjectDefinitionDescriptionSuggestion(
          @RequestBody BusinessObjectDefinitionDescriptionSuggestionAcceptanceRequest request)
focal_class.superclass: extends HerdBaseController
focal_method.body: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX +
          "/namespaces/{namespace}/businessObjectDefinitionNames/{businessObjectDefinitionName}", method = RequestMethod.GET)
      @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_ALL_GET)
      public BusinessObjectDefinitionDescriptionSuggestionKeys getBusinessObjectDefinitionDescriptionSuggestions(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName)
      {
          return businessObjectDefinitionDescriptionSuggestionService
              .getBusinessObjectDefinitionDescriptionSuggestions(new BusinessObjectDefinitionKey(namespace, businessObjectDefinitionName));
      }
focal_method.class_method_signature: BusinessObjectDefinitionDescriptionSuggestionRestController.getBusinessObjectDefinitionDescriptionSuggestions(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName)
focal_method.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX + "/namespaces/{namespace}/businessObjectDefinitionNames/{businessObjectDefinitionName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_ALL_GET) public BusinessObjectDefinitionDescriptionSuggestionKeys getBusinessObjectDefinitionDescriptionSuggestions(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName)
focal_method.identifier: getBusinessObjectDefinitionDescriptionSuggestions
focal_method.invocations: getBusinessObjectDefinitionDescriptionSuggestions
focal_method.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_URI_PREFIX + "/namespaces/{namespace}/businessObjectDefinitionNames/{businessObjectDefinitionName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_DESCRIPTION_SUGGESTIONS_ALL_GET) public
focal_method.parameters: (@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName)
focal_method.return: BusinessObjectDefinitionDescriptionSuggestionKeys
focal_method.signature: BusinessObjectDefinitionDescriptionSuggestionKeys getBusinessObjectDefinitionDescriptionSuggestions(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName)