test_class.declarator: businessObjectDataNotificationRegistrationRestController
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private BusinessObjectDataNotificationRegistrationRestController businessObjectDataNotificationRegistrationRestController;
test_class.type: BusinessObjectDataNotificationRegistrationRestController
test_class.var_name: businessObjectDataNotificationRegistrationRestController
test_class.declarator: businessObjectDataNotificationRegistrationService
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private BusinessObjectDataNotificationRegistrationService businessObjectDataNotificationRegistrationService;
test_class.type: BusinessObjectDataNotificationRegistrationService
test_class.var_name: businessObjectDataNotificationRegistrationService
test_class.file: herd-code/herd-rest/src/test/java/org/finra/herd/rest/BusinessObjectDataNotificationRegistrationRestControllerTest.java
test_class.identifier: BusinessObjectDataNotificationRegistrationRestControllerTest
test_class.superclass: extends AbstractRestTest
test_case.body: @Test
      public void testGetBusinessObjectDataNotificationRegistration()
      {
          // Create a notification registration key.
          NotificationRegistrationKey businessObjectDataNotificationRegistrationKey = new NotificationRegistrationKey(NAMESPACE, NOTIFICATION_NAME);
  
          // Create a business object data notification filter.
          BusinessObjectDataNotificationFilter businessObjectDataNotificationFilter =
              new BusinessObjectDataNotificationFilter(BDEF_NAMESPACE, BDEF_NAME, FORMAT_USAGE_CODE, FORMAT_FILE_TYPE_CODE, FORMAT_VERSION, STORAGE_NAME,
                  BDATA_STATUS, BDATA_STATUS_2);
  
          // Create a list of job actions.
          List<JobAction> jobActions = Arrays.asList(new JobAction(JOB_NAMESPACE, JOB_NAME, CORRELATION_DATA));
  
          // Create a business object data notification registration.
          BusinessObjectDataNotificationRegistration businessObjectDataNotificationRegistration =
              new BusinessObjectDataNotificationRegistration(ID, businessObjectDataNotificationRegistrationKey, NOTIFICATION_EVENT_TYPE,
                  businessObjectDataNotificationFilter, jobActions, NOTIFICATION_REGISTRATION_STATUS);
  
          // Mock the external calls.
          when(businessObjectDataNotificationRegistrationService.getBusinessObjectDataNotificationRegistration(businessObjectDataNotificationRegistrationKey))
              .thenReturn(businessObjectDataNotificationRegistration);
  
          // Call the method under test.
          BusinessObjectDataNotificationRegistration result =
              businessObjectDataNotificationRegistrationRestController.getBusinessObjectDataNotificationRegistration(NAMESPACE, NOTIFICATION_NAME);
  
          // Verify the external calls.
          verify(businessObjectDataNotificationRegistrationService).getBusinessObjectDataNotificationRegistration(businessObjectDataNotificationRegistrationKey);
          verifyNoMoreInteractionsHelper();
  
          // Validate the results.
          assertEquals(businessObjectDataNotificationRegistration, result);
      }
test_case.class_method_signature: BusinessObjectDataNotificationRegistrationRestControllerTest.testGetBusinessObjectDataNotificationRegistration()
test_case.full_signature: @Test public void testGetBusinessObjectDataNotificationRegistration()
test_case.identifier: testGetBusinessObjectDataNotificationRegistration
test_case.invocations: asList thenReturn when getBusinessObjectDataNotificationRegistration getBusinessObjectDataNotificationRegistration getBusinessObjectDataNotificationRegistration verify verifyNoMoreInteractionsHelper assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetBusinessObjectDataNotificationRegistration()
focal_class.declarator: BUSINESS_OBJECT_DATA_NOTIFICATIONS_URI_PREFIX = "/notificationRegistrations/businessObjectDataNotificationRegistrations"
focal_class.modifier: public static final
focal_class.original_string: public static final String BUSINESS_OBJECT_DATA_NOTIFICATIONS_URI_PREFIX = "/notificationRegistrations/businessObjectDataNotificationRegistrations";
focal_class.type: String
focal_class.var_name: BUSINESS_OBJECT_DATA_NOTIFICATIONS_URI_PREFIX
focal_class.declarator: businessObjectDataNotificationRegistrationService
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private BusinessObjectDataNotificationRegistrationService businessObjectDataNotificationRegistrationService;
focal_class.type: BusinessObjectDataNotificationRegistrationService
focal_class.var_name: businessObjectDataNotificationRegistrationService
focal_class.file: herd-code/herd-rest/src/main/java/org/finra/herd/rest/BusinessObjectDataNotificationRegistrationRestController.java
focal_class.identifier: BusinessObjectDataNotificationRegistrationRestController
focal_class.class_method_signature: BusinessObjectDataNotificationRegistrationRestController.createBusinessObjectDataNotificationRegistration(
          @RequestBody BusinessObjectDataNotificationRegistrationCreateRequest request)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DATA_NOTIFICATIONS_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DATA_NOTIFICATION_REGISTRATIONS_POST) public BusinessObjectDataNotificationRegistration createBusinessObjectDataNotificationRegistration(
          @RequestBody BusinessObjectDataNotificationRegistrationCreateRequest request)
focal_class.identifier: createBusinessObjectDataNotificationRegistration
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DATA_NOTIFICATIONS_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DATA_NOTIFICATION_REGISTRATIONS_POST) public
focal_class.parameters: (
          @RequestBody BusinessObjectDataNotificationRegistrationCreateRequest request)
focal_class.return: BusinessObjectDataNotificationRegistration
focal_class.signature: BusinessObjectDataNotificationRegistration createBusinessObjectDataNotificationRegistration(
          @RequestBody BusinessObjectDataNotificationRegistrationCreateRequest request)
focal_class.class_method_signature: BusinessObjectDataNotificationRegistrationRestController.getBusinessObjectDataNotificationRegistration(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DATA_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}/notificationNames/{notificationName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DATA_NOTIFICATION_REGISTRATIONS_GET) public BusinessObjectDataNotificationRegistration getBusinessObjectDataNotificationRegistration(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
focal_class.identifier: getBusinessObjectDataNotificationRegistration
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DATA_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}/notificationNames/{notificationName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DATA_NOTIFICATION_REGISTRATIONS_GET) public
focal_class.parameters: (@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
focal_class.return: BusinessObjectDataNotificationRegistration
focal_class.signature: BusinessObjectDataNotificationRegistration getBusinessObjectDataNotificationRegistration(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
focal_class.class_method_signature: BusinessObjectDataNotificationRegistrationRestController.updateBusinessObjectDataNotificationRegistration(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName, @RequestBody BusinessObjectDataNotificationRegistrationUpdateRequest request)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DATA_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}/notificationNames/{notificationName}", method = RequestMethod.PUT, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DATA_NOTIFICATION_REGISTRATIONS_PUT) public BusinessObjectDataNotificationRegistration updateBusinessObjectDataNotificationRegistration(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName, @RequestBody BusinessObjectDataNotificationRegistrationUpdateRequest request)
focal_class.identifier: updateBusinessObjectDataNotificationRegistration
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DATA_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}/notificationNames/{notificationName}", method = RequestMethod.PUT, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DATA_NOTIFICATION_REGISTRATIONS_PUT) public
focal_class.parameters: (@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName, @RequestBody BusinessObjectDataNotificationRegistrationUpdateRequest request)
focal_class.return: BusinessObjectDataNotificationRegistration
focal_class.signature: BusinessObjectDataNotificationRegistration updateBusinessObjectDataNotificationRegistration(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName, @RequestBody BusinessObjectDataNotificationRegistrationUpdateRequest request)
focal_class.class_method_signature: BusinessObjectDataNotificationRegistrationRestController.deleteBusinessObjectDataNotification(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DATA_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}/notificationNames/{notificationName}", method = RequestMethod.DELETE) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DATA_NOTIFICATION_REGISTRATIONS_DELETE) public BusinessObjectDataNotificationRegistration deleteBusinessObjectDataNotification(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
focal_class.identifier: deleteBusinessObjectDataNotification
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DATA_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}/notificationNames/{notificationName}", method = RequestMethod.DELETE) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DATA_NOTIFICATION_REGISTRATIONS_DELETE) public
focal_class.parameters: (@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
focal_class.return: BusinessObjectDataNotificationRegistration
focal_class.signature: BusinessObjectDataNotificationRegistration deleteBusinessObjectDataNotification(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
focal_class.class_method_signature: BusinessObjectDataNotificationRegistrationRestController.getBusinessObjectDataNotificationRegistrationsByNamespace(@PathVariable("namespace") String namespace)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DATA_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DATA_NOTIFICATION_REGISTRATIONS_BY_NAMESPACE_GET) public BusinessObjectDataNotificationRegistrationKeys getBusinessObjectDataNotificationRegistrationsByNamespace(@PathVariable("namespace") String namespace)
focal_class.identifier: getBusinessObjectDataNotificationRegistrationsByNamespace
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DATA_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DATA_NOTIFICATION_REGISTRATIONS_BY_NAMESPACE_GET) public
focal_class.parameters: (@PathVariable("namespace") String namespace)
focal_class.return: BusinessObjectDataNotificationRegistrationKeys
focal_class.signature: BusinessObjectDataNotificationRegistrationKeys getBusinessObjectDataNotificationRegistrationsByNamespace(@PathVariable("namespace") String namespace)
focal_class.class_method_signature: BusinessObjectDataNotificationRegistrationRestController.getBusinessObjectDataNotificationRegistrationsByNotificationFilter(
          @RequestParam(value = "businessObjectDefinitionNamespace", required = true) String businessObjectDefinitionNamespace,
          @RequestParam(value = "businessObjectDefinitionName", required = true) String businessObjectDefinitionName,
          @RequestParam(value = "businessObjectFormatUsage", required = false) String businessObjectFormatUsage,
          @RequestParam(value = "businessObjectFormatFileType", required = false) String businessObjectFormatFileType, ServletRequest servletRequest)
focal_class.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DATA_NOTIFICATIONS_URI_PREFIX, method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DATA_NOTIFICATION_REGISTRATIONS_BY_NOTIFICATION_FILTER_GET) public BusinessObjectDataNotificationRegistrationKeys getBusinessObjectDataNotificationRegistrationsByNotificationFilter(
          @RequestParam(value = "businessObjectDefinitionNamespace", required = true) String businessObjectDefinitionNamespace,
          @RequestParam(value = "businessObjectDefinitionName", required = true) String businessObjectDefinitionName,
          @RequestParam(value = "businessObjectFormatUsage", required = false) String businessObjectFormatUsage,
          @RequestParam(value = "businessObjectFormatFileType", required = false) String businessObjectFormatFileType, ServletRequest servletRequest)
focal_class.identifier: getBusinessObjectDataNotificationRegistrationsByNotificationFilter
focal_class.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DATA_NOTIFICATIONS_URI_PREFIX, method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DATA_NOTIFICATION_REGISTRATIONS_BY_NOTIFICATION_FILTER_GET) public
focal_class.parameters: (
          @RequestParam(value = "businessObjectDefinitionNamespace", required = true) String businessObjectDefinitionNamespace,
          @RequestParam(value = "businessObjectDefinitionName", required = true) String businessObjectDefinitionName,
          @RequestParam(value = "businessObjectFormatUsage", required = false) String businessObjectFormatUsage,
          @RequestParam(value = "businessObjectFormatFileType", required = false) String businessObjectFormatFileType, ServletRequest servletRequest)
focal_class.return: BusinessObjectDataNotificationRegistrationKeys
focal_class.signature: BusinessObjectDataNotificationRegistrationKeys getBusinessObjectDataNotificationRegistrationsByNotificationFilter(
          @RequestParam(value = "businessObjectDefinitionNamespace", required = true) String businessObjectDefinitionNamespace,
          @RequestParam(value = "businessObjectDefinitionName", required = true) String businessObjectDefinitionName,
          @RequestParam(value = "businessObjectFormatUsage", required = false) String businessObjectFormatUsage,
          @RequestParam(value = "businessObjectFormatFileType", required = false) String businessObjectFormatFileType, ServletRequest servletRequest)
focal_class.superclass: extends HerdBaseController
focal_method.body: @RequestMapping(value = BUSINESS_OBJECT_DATA_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}/notificationNames/{notificationName}",
          method = RequestMethod.GET)
      @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DATA_NOTIFICATION_REGISTRATIONS_GET)
      public BusinessObjectDataNotificationRegistration getBusinessObjectDataNotificationRegistration(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
      {
          return businessObjectDataNotificationRegistrationService
              .getBusinessObjectDataNotificationRegistration(new NotificationRegistrationKey(namespace, notificationName));
      }
focal_method.class_method_signature: BusinessObjectDataNotificationRegistrationRestController.getBusinessObjectDataNotificationRegistration(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
focal_method.full_signature: @RequestMapping(value = BUSINESS_OBJECT_DATA_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}/notificationNames/{notificationName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DATA_NOTIFICATION_REGISTRATIONS_GET) public BusinessObjectDataNotificationRegistration getBusinessObjectDataNotificationRegistration(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
focal_method.identifier: getBusinessObjectDataNotificationRegistration
focal_method.invocations: getBusinessObjectDataNotificationRegistration
focal_method.modifiers: @RequestMapping(value = BUSINESS_OBJECT_DATA_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}/notificationNames/{notificationName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUSINESS_OBJECT_DATA_NOTIFICATION_REGISTRATIONS_GET) public
focal_method.parameters: (@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
focal_method.return: BusinessObjectDataNotificationRegistration
focal_method.signature: BusinessObjectDataNotificationRegistration getBusinessObjectDataNotificationRegistration(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)