test_class.declarator: businessObjectFormatExternalInterfaceRestController
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private BusinessObjectFormatExternalInterfaceRestController businessObjectFormatExternalInterfaceRestController;
test_class.type: BusinessObjectFormatExternalInterfaceRestController
test_class.var_name: businessObjectFormatExternalInterfaceRestController
test_class.declarator: businessObjectFormatExternalInterfaceService
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private BusinessObjectFormatExternalInterfaceService businessObjectFormatExternalInterfaceService;
test_class.type: BusinessObjectFormatExternalInterfaceService
test_class.var_name: businessObjectFormatExternalInterfaceService
test_class.file: herd-code/herd-rest/src/test/java/org/finra/herd/rest/BusinessObjectFormatExternalInterfaceRestControllerTest.java
test_class.identifier: BusinessObjectFormatExternalInterfaceRestControllerTest
test_case.body: @Test
      public void testCreateBusinessObjectFormatExternalInterface()
      {
          // Create a business object format external interface create request.
          BusinessObjectFormatExternalInterfaceCreateRequest businessObjectFormatExternalInterfaceCreateRequest =
              new BusinessObjectFormatExternalInterfaceCreateRequest(
                  new BusinessObjectFormatExternalInterfaceKey(NAMESPACE, BDEF_NAME, FORMAT_USAGE_CODE, FORMAT_FILE_TYPE_CODE, EXTERNAL_INTERFACE));
  
          // Create a business object format external interface.
          BusinessObjectFormatExternalInterface businessObjectFormatExternalInterface = new BusinessObjectFormatExternalInterface(ID,
              new BusinessObjectFormatExternalInterfaceKey(NAMESPACE, BDEF_NAME, FORMAT_USAGE_CODE, FORMAT_FILE_TYPE_CODE, EXTERNAL_INTERFACE));
  
          // Mock the external calls.
          when(businessObjectFormatExternalInterfaceService.createBusinessObjectFormatExternalInterface(businessObjectFormatExternalInterfaceCreateRequest))
              .thenReturn(businessObjectFormatExternalInterface);
  
          // Call the method under test.
          BusinessObjectFormatExternalInterface result =
              businessObjectFormatExternalInterfaceRestController.createBusinessObjectFormatExternalInterface(businessObjectFormatExternalInterfaceCreateRequest);
  
          // Validate the result.
          assertEquals(businessObjectFormatExternalInterface, result);
  
          // Verify the external calls.
          verify(businessObjectFormatExternalInterfaceService).createBusinessObjectFormatExternalInterface(businessObjectFormatExternalInterfaceCreateRequest);
          verifyNoMoreInteractions(businessObjectFormatExternalInterfaceService);
      }
test_case.class_method_signature: BusinessObjectFormatExternalInterfaceRestControllerTest.testCreateBusinessObjectFormatExternalInterface()
test_case.full_signature: @Test public void testCreateBusinessObjectFormatExternalInterface()
test_case.identifier: testCreateBusinessObjectFormatExternalInterface
test_case.invocations: thenReturn when createBusinessObjectFormatExternalInterface createBusinessObjectFormatExternalInterface assertEquals createBusinessObjectFormatExternalInterface verify verifyNoMoreInteractions
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCreateBusinessObjectFormatExternalInterface()
focal_class.declarator: BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_URI_PREFIX = "/businessObjectFormatExternalInterfaces"
focal_class.modifier: private static final
focal_class.original_string: private static final String BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_URI_PREFIX = "/businessObjectFormatExternalInterfaces";
focal_class.type: String
focal_class.var_name: BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_URI_PREFIX
focal_class.declarator: businessObjectFormatExternalInterfaceService
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private BusinessObjectFormatExternalInterfaceService businessObjectFormatExternalInterfaceService;
focal_class.type: BusinessObjectFormatExternalInterfaceService
focal_class.var_name: businessObjectFormatExternalInterfaceService
focal_class.file: herd-code/herd-rest/src/main/java/org/finra/herd/rest/BusinessObjectFormatExternalInterfaceRestController.java
focal_class.identifier: BusinessObjectFormatExternalInterfaceRestController
focal_class.class_method_signature: BusinessObjectFormatExternalInterfaceRestController.createBusinessObjectFormatExternalInterface(
          @RequestBody BusinessObjectFormatExternalInterfaceCreateRequest businessObjectFormatExternalInterfaceCreateRequest)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_POST) public BusinessObjectFormatExternalInterface createBusinessObjectFormatExternalInterface(
          @RequestBody BusinessObjectFormatExternalInterfaceCreateRequest businessObjectFormatExternalInterfaceCreateRequest)
focal_class.identifier: createBusinessObjectFormatExternalInterface
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_POST) public
focal_class.parameters: (
          @RequestBody BusinessObjectFormatExternalInterfaceCreateRequest businessObjectFormatExternalInterfaceCreateRequest)
focal_class.return: BusinessObjectFormatExternalInterface
focal_class.signature: BusinessObjectFormatExternalInterface createBusinessObjectFormatExternalInterface(
          @RequestBody BusinessObjectFormatExternalInterfaceCreateRequest businessObjectFormatExternalInterfaceCreateRequest)
focal_class.class_method_signature: BusinessObjectFormatExternalInterfaceRestController.deleteBusinessObjectFormatExternalInterface(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName,
          @PathVariable("businessObjectFormatUsage") String businessObjectFormatUsage,
          @PathVariable("businessObjectFormatFileType") String businessObjectFormatFileType, @PathVariable("externalInterfaceName") String externalInterfaceName)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_URI_PREFIX + "/namespaces/{namespace}/businessObjectDefinitionNames/{businessObjectDefinitionName}/businessObjectFormatUsages/{businessObjectFormatUsage}" + "/businessObjectFormatFileTypes/{businessObjectFormatFileType}/externalInterfaceNames/{externalInterfaceName}", method = RequestMethod.DELETE) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_DELETE) public BusinessObjectFormatExternalInterface deleteBusinessObjectFormatExternalInterface(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName,
          @PathVariable("businessObjectFormatUsage") String businessObjectFormatUsage,
          @PathVariable("businessObjectFormatFileType") String businessObjectFormatFileType, @PathVariable("externalInterfaceName") String externalInterfaceName)
focal_class.identifier: deleteBusinessObjectFormatExternalInterface
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_URI_PREFIX + "/namespaces/{namespace}/businessObjectDefinitionNames/{businessObjectDefinitionName}/businessObjectFormatUsages/{businessObjectFormatUsage}" + "/businessObjectFormatFileTypes/{businessObjectFormatFileType}/externalInterfaceNames/{externalInterfaceName}", method = RequestMethod.DELETE) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_DELETE) public
focal_class.parameters: (@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName,
          @PathVariable("businessObjectFormatUsage") String businessObjectFormatUsage,
          @PathVariable("businessObjectFormatFileType") String businessObjectFormatFileType, @PathVariable("externalInterfaceName") String externalInterfaceName)
focal_class.return: BusinessObjectFormatExternalInterface
focal_class.signature: BusinessObjectFormatExternalInterface deleteBusinessObjectFormatExternalInterface(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName,
          @PathVariable("businessObjectFormatUsage") String businessObjectFormatUsage,
          @PathVariable("businessObjectFormatFileType") String businessObjectFormatFileType, @PathVariable("externalInterfaceName") String externalInterfaceName)
focal_class.class_method_signature: BusinessObjectFormatExternalInterfaceRestController.getBusinessObjectFormatExternalInterface(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName,
          @PathVariable("businessObjectFormatUsage") String businessObjectFormatUsage,
          @PathVariable("businessObjectFormatFileType") String businessObjectFormatFileType, @PathVariable("externalInterfaceName") String externalInterfaceName)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_URI_PREFIX + "/namespaces/{namespace}/businessObjectDefinitionNames/{businessObjectDefinitionName}/businessObjectFormatUsages/{businessObjectFormatUsage}" + "/businessObjectFormatFileTypes/{businessObjectFormatFileType}/externalInterfaceNames/{externalInterfaceName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_GET) public BusinessObjectFormatExternalInterface getBusinessObjectFormatExternalInterface(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName,
          @PathVariable("businessObjectFormatUsage") String businessObjectFormatUsage,
          @PathVariable("businessObjectFormatFileType") String businessObjectFormatFileType, @PathVariable("externalInterfaceName") String externalInterfaceName)
focal_class.identifier: getBusinessObjectFormatExternalInterface
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_URI_PREFIX + "/namespaces/{namespace}/businessObjectDefinitionNames/{businessObjectDefinitionName}/businessObjectFormatUsages/{businessObjectFormatUsage}" + "/businessObjectFormatFileTypes/{businessObjectFormatFileType}/externalInterfaceNames/{externalInterfaceName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_GET) public
focal_class.parameters: (@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName,
          @PathVariable("businessObjectFormatUsage") String businessObjectFormatUsage,
          @PathVariable("businessObjectFormatFileType") String businessObjectFormatFileType, @PathVariable("externalInterfaceName") String externalInterfaceName)
focal_class.return: BusinessObjectFormatExternalInterface
focal_class.signature: BusinessObjectFormatExternalInterface getBusinessObjectFormatExternalInterface(@PathVariable("namespace") String namespace,
          @PathVariable("businessObjectDefinitionName") String businessObjectDefinitionName,
          @PathVariable("businessObjectFormatUsage") String businessObjectFormatUsage,
          @PathVariable("businessObjectFormatFileType") String businessObjectFormatFileType, @PathVariable("externalInterfaceName") String externalInterfaceName)
focal_method.body: @RequestMapping(value = BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml",
          "application/json"})
      @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_POST)
      public BusinessObjectFormatExternalInterface createBusinessObjectFormatExternalInterface(
          @RequestBody BusinessObjectFormatExternalInterfaceCreateRequest businessObjectFormatExternalInterfaceCreateRequest)
      {
          return businessObjectFormatExternalInterfaceService.createBusinessObjectFormatExternalInterface(businessObjectFormatExternalInterfaceCreateRequest);
      }
focal_method.class_method_signature: BusinessObjectFormatExternalInterfaceRestController.createBusinessObjectFormatExternalInterface(
          @RequestBody BusinessObjectFormatExternalInterfaceCreateRequest businessObjectFormatExternalInterfaceCreateRequest)
focal_method.full_signature: @RequestMapping(value = BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_POST) public BusinessObjectFormatExternalInterface createBusinessObjectFormatExternalInterface(
          @RequestBody BusinessObjectFormatExternalInterfaceCreateRequest businessObjectFormatExternalInterfaceCreateRequest)
focal_method.identifier: createBusinessObjectFormatExternalInterface
focal_method.invocations: createBusinessObjectFormatExternalInterface
focal_method.modifiers: @RequestMapping(value = BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_FORMAT_EXTERNAL_INTERFACES_POST) public
focal_method.parameters: (
          @RequestBody BusinessObjectFormatExternalInterfaceCreateRequest businessObjectFormatExternalInterfaceCreateRequest)
focal_method.return: BusinessObjectFormatExternalInterface
focal_method.signature: BusinessObjectFormatExternalInterface createBusinessObjectFormatExternalInterface(
          @RequestBody BusinessObjectFormatExternalInterfaceCreateRequest businessObjectFormatExternalInterfaceCreateRequest)