test_class.declarator: businessObjectDefinitionTagRestController
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private BusinessObjectDefinitionTagRestController businessObjectDefinitionTagRestController;
test_class.type: BusinessObjectDefinitionTagRestController
test_class.var_name: businessObjectDefinitionTagRestController
test_class.declarator: businessObjectDefinitionTagService
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private BusinessObjectDefinitionTagService businessObjectDefinitionTagService;
test_class.type: BusinessObjectDefinitionTagService
test_class.var_name: businessObjectDefinitionTagService
test_class.file: herd-code/herd-rest/src/test/java/org/finra/herd/rest/BusinessObjectDefinitionTagRestControllerTest.java
test_class.identifier: BusinessObjectDefinitionTagRestControllerTest
test_class.superclass: extends AbstractRestTest
test_case.body: @Test
      public void testCreateBusinessObjectDefinitionTag()
      {
          // Create a business object definition key.
          BusinessObjectDefinitionKey businessObjectDefinitionKey = new BusinessObjectDefinitionKey(BDEF_NAMESPACE, BDEF_NAME);
  
          // Create a business object definition tag key.
          BusinessObjectDefinitionTagKey businessObjectDefinitionTagKey =
              new BusinessObjectDefinitionTagKey(businessObjectDefinitionKey, new TagKey(TAG_TYPE, TAG_CODE));
          BusinessObjectDefinitionTag businessObjectDefinitionTag = new BusinessObjectDefinitionTag(ID, businessObjectDefinitionTagKey);
  
          BusinessObjectDefinitionTagCreateRequest request = new BusinessObjectDefinitionTagCreateRequest(businessObjectDefinitionTagKey);
  
          when(businessObjectDefinitionTagService.createBusinessObjectDefinitionTag(request)).thenReturn(businessObjectDefinitionTag);
  
          // Create a business object definition tag.
          BusinessObjectDefinitionTag result = businessObjectDefinitionTagRestController.createBusinessObjectDefinitionTag(request);
  
          // Verify the external calls.
          verify(businessObjectDefinitionTagService).createBusinessObjectDefinitionTag(request);
          verifyNoMoreInteractions(businessObjectDefinitionTagService);
          // Validate the returned object.
          assertEquals(businessObjectDefinitionTag, result);
      }
test_case.class_method_signature: BusinessObjectDefinitionTagRestControllerTest.testCreateBusinessObjectDefinitionTag()
test_case.full_signature: @Test public void testCreateBusinessObjectDefinitionTag()
test_case.identifier: testCreateBusinessObjectDefinitionTag
test_case.invocations: thenReturn when createBusinessObjectDefinitionTag createBusinessObjectDefinitionTag createBusinessObjectDefinitionTag verify verifyNoMoreInteractions assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCreateBusinessObjectDefinitionTag()
focal_class.declarator: BUSINESS_OBJECT_DEFINITION_TAGS_URI_PREFIX = "/businessObjectDefinitionTags"
focal_class.modifier: public static final
focal_class.original_string: public static final String BUSINESS_OBJECT_DEFINITION_TAGS_URI_PREFIX = "/businessObjectDefinitionTags";
focal_class.type: String
focal_class.var_name: BUSINESS_OBJECT_DEFINITION_TAGS_URI_PREFIX
focal_class.declarator: businessObjectDefinitionTagService
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private BusinessObjectDefinitionTagService businessObjectDefinitionTagService;
focal_class.type: BusinessObjectDefinitionTagService
focal_class.var_name: businessObjectDefinitionTagService
focal_class.file: herd-code/herd-rest/src/main/java/org/finra/herd/rest/BusinessObjectDefinitionTagRestController.java
focal_class.identifier: BusinessObjectDefinitionTagRestController
focal_class.class_method_signature: BusinessObjectDefinitionTagRestController.createBusinessObjectDefinitionTag(@RequestBody BusinessObjectDefinitionTagCreateRequest request)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_TAGS_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_TAGS_POST) public BusinessObjectDefinitionTag createBusinessObjectDefinitionTag(@RequestBody BusinessObjectDefinitionTagCreateRequest request)
focal_class.identifier: createBusinessObjectDefinitionTag
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_TAGS_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_TAGS_POST) public
focal_class.parameters: (@RequestBody BusinessObjectDefinitionTagCreateRequest request)
focal_class.return: BusinessObjectDefinitionTag
focal_class.signature: BusinessObjectDefinitionTag createBusinessObjectDefinitionTag(@RequestBody BusinessObjectDefinitionTagCreateRequest request)
focal_class.class_method_signature: BusinessObjectDefinitionTagRestController.deleteBusinessObjectDefinitionTag(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("tagTypeCode") String tagTypeCode,
          @PathVariable("tagCode") String tagCode)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_TAGS_URI_PREFIX + "/namespaces/{namespace}" + "/businessObjectDefinitionNames/{businessObjectDefinitionName}" + "/tagTypes/{tagTypeCode}" + "/tagCodes/{tagCode}", method = RequestMethod.DELETE) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_TAGS_DELETE) public BusinessObjectDefinitionTag deleteBusinessObjectDefinitionTag(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("tagTypeCode") String tagTypeCode,
          @PathVariable("tagCode") String tagCode)
focal_class.identifier: deleteBusinessObjectDefinitionTag
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_TAGS_URI_PREFIX + "/namespaces/{namespace}" + "/businessObjectDefinitionNames/{businessObjectDefinitionName}" + "/tagTypes/{tagTypeCode}" + "/tagCodes/{tagCode}", method = RequestMethod.DELETE) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_TAGS_DELETE) public
focal_class.parameters: (@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("tagTypeCode") String tagTypeCode,
          @PathVariable("tagCode") String tagCode)
focal_class.return: BusinessObjectDefinitionTag
focal_class.signature: BusinessObjectDefinitionTag deleteBusinessObjectDefinitionTag(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("tagTypeCode") String tagTypeCode,
          @PathVariable("tagCode") String tagCode)
focal_class.class_method_signature: BusinessObjectDefinitionTagRestController.getBusinessObjectDefinitionTagsByBusinessObjectDefinition(@PathVariable(value = "namespace") String namespace,
          @PathVariable(value = "businessObjectDefinitionName") String businessObjectDefinitionName)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_TAGS_URI_PREFIX + "/namespaces/{namespace}" + "/businessObjectDefinitionNames/{businessObjectDefinitionName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_TAGS_BY_BUSINESS_OBJECT_DEFINITION_GET) public BusinessObjectDefinitionTagKeys getBusinessObjectDefinitionTagsByBusinessObjectDefinition(@PathVariable(value = "namespace") String namespace,
          @PathVariable(value = "businessObjectDefinitionName") String businessObjectDefinitionName)
focal_class.identifier: getBusinessObjectDefinitionTagsByBusinessObjectDefinition
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_TAGS_URI_PREFIX + "/namespaces/{namespace}" + "/businessObjectDefinitionNames/{businessObjectDefinitionName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_TAGS_BY_BUSINESS_OBJECT_DEFINITION_GET) public
focal_class.parameters: (@PathVariable(value = "namespace") String namespace,
          @PathVariable(value = "businessObjectDefinitionName") String businessObjectDefinitionName)
focal_class.return: BusinessObjectDefinitionTagKeys
focal_class.signature: BusinessObjectDefinitionTagKeys getBusinessObjectDefinitionTagsByBusinessObjectDefinition(@PathVariable(value = "namespace") String namespace,
          @PathVariable(value = "businessObjectDefinitionName") String businessObjectDefinitionName)
focal_class.class_method_signature: BusinessObjectDefinitionTagRestController.getBusinessObjectDefinitionTagsByTag(@PathVariable(value = "tagTypeCode") String tagTypeCode,
          @PathVariable(value = "tagCode") String tagCode)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_TAGS_URI_PREFIX + "/tagTypes/{tagTypeCode}" + "/tagCodes/{tagCode}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_TAGS_BY_TAG_GET) public BusinessObjectDefinitionTagKeys getBusinessObjectDefinitionTagsByTag(@PathVariable(value = "tagTypeCode") String tagTypeCode,
          @PathVariable(value = "tagCode") String tagCode)
focal_class.identifier: getBusinessObjectDefinitionTagsByTag
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_TAGS_URI_PREFIX + "/tagTypes/{tagTypeCode}" + "/tagCodes/{tagCode}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_TAGS_BY_TAG_GET) public
focal_class.parameters: (@PathVariable(value = "tagTypeCode") String tagTypeCode,
          @PathVariable(value = "tagCode") String tagCode)
focal_class.return: BusinessObjectDefinitionTagKeys
focal_class.signature: BusinessObjectDefinitionTagKeys getBusinessObjectDefinitionTagsByTag(@PathVariable(value = "tagTypeCode") String tagTypeCode,
          @PathVariable(value = "tagCode") String tagCode)
focal_class.superclass: extends HerdBaseController
focal_method.body: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_TAGS_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"})
      @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_TAGS_POST)
      public BusinessObjectDefinitionTag createBusinessObjectDefinitionTag(@RequestBody BusinessObjectDefinitionTagCreateRequest request)
      {
          return businessObjectDefinitionTagService.createBusinessObjectDefinitionTag(request);
      }
focal_method.class_method_signature: BusinessObjectDefinitionTagRestController.createBusinessObjectDefinitionTag(@RequestBody BusinessObjectDefinitionTagCreateRequest request)
focal_method.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_TAGS_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_TAGS_POST) public BusinessObjectDefinitionTag createBusinessObjectDefinitionTag(@RequestBody BusinessObjectDefinitionTagCreateRequest request)
focal_method.identifier: createBusinessObjectDefinitionTag
focal_method.invocations: createBusinessObjectDefinitionTag
focal_method.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_TAGS_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_TAGS_POST) public
focal_method.parameters: (@RequestBody BusinessObjectDefinitionTagCreateRequest request)
focal_method.return: BusinessObjectDefinitionTag
focal_method.signature: BusinessObjectDefinitionTag createBusinessObjectDefinitionTag(@RequestBody BusinessObjectDefinitionTagCreateRequest request)