test_class.declarator: businessObjectDefinitionSubjectMatterExpertRestController
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private BusinessObjectDefinitionSubjectMatterExpertRestController businessObjectDefinitionSubjectMatterExpertRestController;
test_class.type: BusinessObjectDefinitionSubjectMatterExpertRestController
test_class.var_name: businessObjectDefinitionSubjectMatterExpertRestController
test_class.declarator: businessObjectDefinitionSubjectMatterExpertService
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private BusinessObjectDefinitionSubjectMatterExpertService businessObjectDefinitionSubjectMatterExpertService;
test_class.type: BusinessObjectDefinitionSubjectMatterExpertService
test_class.var_name: businessObjectDefinitionSubjectMatterExpertService
test_class.file: herd-code/herd-rest/src/test/java/org/finra/herd/rest/BusinessObjectDefinitionSubjectMatterExpertRestControllerTest.java
test_class.identifier: BusinessObjectDefinitionSubjectMatterExpertRestControllerTest
test_class.superclass: extends AbstractRestTest
test_case.body: @Test
      public void testDeleteBusinessObjectDefinitionSubjectMatterExpert()
      {
          // Create a business object definition subject matter expert key.
          BusinessObjectDefinitionSubjectMatterExpertKey key = new BusinessObjectDefinitionSubjectMatterExpertKey(BDEF_NAMESPACE, BDEF_NAME, USER_ID);
  
          BusinessObjectDefinitionSubjectMatterExpert businessObjectDefinitionSubjectMatterExpert = new BusinessObjectDefinitionSubjectMatterExpert(ID, key);
  
          when(businessObjectDefinitionSubjectMatterExpertService.deleteBusinessObjectDefinitionSubjectMatterExpert(key))
              .thenReturn(businessObjectDefinitionSubjectMatterExpert);
  
          // Delete this business object definition subject matter expert.
          BusinessObjectDefinitionSubjectMatterExpert deletedBusinessObjectDefinitionSubjectMatterExpert =
              businessObjectDefinitionSubjectMatterExpertRestController.deleteBusinessObjectDefinitionSubjectMatterExpert(BDEF_NAMESPACE, BDEF_NAME, USER_ID);
  
          // Verify the external calls.
          verify(businessObjectDefinitionSubjectMatterExpertService).deleteBusinessObjectDefinitionSubjectMatterExpert(key);
          verifyNoMoreInteractions(businessObjectDefinitionSubjectMatterExpertService);
          // Validate the returned object.
          assertEquals(businessObjectDefinitionSubjectMatterExpert, deletedBusinessObjectDefinitionSubjectMatterExpert);
      }
test_case.class_method_signature: BusinessObjectDefinitionSubjectMatterExpertRestControllerTest.testDeleteBusinessObjectDefinitionSubjectMatterExpert()
test_case.full_signature: @Test public void testDeleteBusinessObjectDefinitionSubjectMatterExpert()
test_case.identifier: testDeleteBusinessObjectDefinitionSubjectMatterExpert
test_case.invocations: thenReturn when deleteBusinessObjectDefinitionSubjectMatterExpert deleteBusinessObjectDefinitionSubjectMatterExpert deleteBusinessObjectDefinitionSubjectMatterExpert verify verifyNoMoreInteractions assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDeleteBusinessObjectDefinitionSubjectMatterExpert()
focal_class.declarator: BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_URI_PREFIX = "/businessObjectDefinitionSubjectMatterExperts"
focal_class.modifier: public static final
focal_class.original_string: public static final String BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_URI_PREFIX = "/businessObjectDefinitionSubjectMatterExperts";
focal_class.type: String
focal_class.var_name: BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_URI_PREFIX
focal_class.declarator: businessObjectDefinitionSubjectMatterExpertService
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private BusinessObjectDefinitionSubjectMatterExpertService businessObjectDefinitionSubjectMatterExpertService;
focal_class.type: BusinessObjectDefinitionSubjectMatterExpertService
focal_class.var_name: businessObjectDefinitionSubjectMatterExpertService
focal_class.file: herd-code/herd-rest/src/main/java/org/finra/herd/rest/BusinessObjectDefinitionSubjectMatterExpertRestController.java
focal_class.identifier: BusinessObjectDefinitionSubjectMatterExpertRestController
focal_class.class_method_signature: BusinessObjectDefinitionSubjectMatterExpertRestController.createBusinessObjectDefinitionSubjectMatterExpert(
          @RequestBody BusinessObjectDefinitionSubjectMatterExpertCreateRequest request)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_POST) public BusinessObjectDefinitionSubjectMatterExpert createBusinessObjectDefinitionSubjectMatterExpert(
          @RequestBody BusinessObjectDefinitionSubjectMatterExpertCreateRequest request)
focal_class.identifier: createBusinessObjectDefinitionSubjectMatterExpert
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_POST) public
focal_class.parameters: (
          @RequestBody BusinessObjectDefinitionSubjectMatterExpertCreateRequest request)
focal_class.return: BusinessObjectDefinitionSubjectMatterExpert
focal_class.signature: BusinessObjectDefinitionSubjectMatterExpert createBusinessObjectDefinitionSubjectMatterExpert(
          @RequestBody BusinessObjectDefinitionSubjectMatterExpertCreateRequest request)
focal_class.class_method_signature: BusinessObjectDefinitionSubjectMatterExpertRestController.deleteBusinessObjectDefinitionSubjectMatterExpert(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_URI_PREFIX + "/namespaces/{namespace}" + "/businessObjectDefinitionNames/{businessObjectDefinitionName}" + "/userIds/{userId}", method = RequestMethod.DELETE) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_DELETE) public BusinessObjectDefinitionSubjectMatterExpert deleteBusinessObjectDefinitionSubjectMatterExpert(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId)
focal_class.identifier: deleteBusinessObjectDefinitionSubjectMatterExpert
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_URI_PREFIX + "/namespaces/{namespace}" + "/businessObjectDefinitionNames/{businessObjectDefinitionName}" + "/userIds/{userId}", method = RequestMethod.DELETE) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_DELETE) public
focal_class.parameters: (@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId)
focal_class.return: BusinessObjectDefinitionSubjectMatterExpert
focal_class.signature: BusinessObjectDefinitionSubjectMatterExpert deleteBusinessObjectDefinitionSubjectMatterExpert(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId)
focal_class.class_method_signature: BusinessObjectDefinitionSubjectMatterExpertRestController.getBusinessObjectDefinitionSubjectMatterExpertsByBusinessObjectDefinition(
          @PathVariable("namespace") String namespace, @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_URI_PREFIX + "/namespaces/{namespace}" + "/businessObjectDefinitionNames/{businessObjectDefinitionName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_BY_BUSINESS_OBJECT_DEFINITION_GET) public BusinessObjectDefinitionSubjectMatterExpertKeys getBusinessObjectDefinitionSubjectMatterExpertsByBusinessObjectDefinition(
          @PathVariable("namespace") String namespace, @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName)
focal_class.identifier: getBusinessObjectDefinitionSubjectMatterExpertsByBusinessObjectDefinition
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_URI_PREFIX + "/namespaces/{namespace}" + "/businessObjectDefinitionNames/{businessObjectDefinitionName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_BY_BUSINESS_OBJECT_DEFINITION_GET) public
focal_class.parameters: (
          @PathVariable("namespace") String namespace, @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName)
focal_class.return: BusinessObjectDefinitionSubjectMatterExpertKeys
focal_class.signature: BusinessObjectDefinitionSubjectMatterExpertKeys getBusinessObjectDefinitionSubjectMatterExpertsByBusinessObjectDefinition(
          @PathVariable("namespace") String namespace, @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName)
focal_class.superclass: extends HerdBaseController
focal_method.body: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_URI_PREFIX + "/namespaces/{namespace}" +
          "/businessObjectDefinitionNames/{businessObjectDefinitionName}" +
          "/userIds/{userId}",
          method = RequestMethod.DELETE)
      @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_DELETE)
      public BusinessObjectDefinitionSubjectMatterExpert deleteBusinessObjectDefinitionSubjectMatterExpert(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId)
      {
          return businessObjectDefinitionSubjectMatterExpertService.deleteBusinessObjectDefinitionSubjectMatterExpert(
              new BusinessObjectDefinitionSubjectMatterExpertKey(namespace, businessObjectDefinitionName, userId));
      }
focal_method.class_method_signature: BusinessObjectDefinitionSubjectMatterExpertRestController.deleteBusinessObjectDefinitionSubjectMatterExpert(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId)
focal_method.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_URI_PREFIX + "/namespaces/{namespace}" + "/businessObjectDefinitionNames/{businessObjectDefinitionName}" + "/userIds/{userId}", method = RequestMethod.DELETE) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_DELETE) public BusinessObjectDefinitionSubjectMatterExpert deleteBusinessObjectDefinitionSubjectMatterExpert(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId)
focal_method.identifier: deleteBusinessObjectDefinitionSubjectMatterExpert
focal_method.invocations: deleteBusinessObjectDefinitionSubjectMatterExpert
focal_method.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_URI_PREFIX + "/namespaces/{namespace}" + "/businessObjectDefinitionNames/{businessObjectDefinitionName}" + "/userIds/{userId}", method = RequestMethod.DELETE) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DEFINITION_SUBJECT_MATTER_EXPERTS_DELETE) public
focal_method.parameters: (@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId)
focal_method.return: BusinessObjectDefinitionSubjectMatterExpert
focal_method.signature: BusinessObjectDefinitionSubjectMatterExpert deleteBusinessObjectDefinitionSubjectMatterExpert(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName, @PathVariable("userId") String userId)