test_class.declarator: storageUnitNotificationRegistrationRestController
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private StorageUnitNotificationRegistrationRestController storageUnitNotificationRegistrationRestController;
test_class.type: StorageUnitNotificationRegistrationRestController
test_class.var_name: storageUnitNotificationRegistrationRestController
test_class.declarator: storageUnitNotificationRegistrationService
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private StorageUnitNotificationRegistrationService storageUnitNotificationRegistrationService;
test_class.type: StorageUnitNotificationRegistrationService
test_class.var_name: storageUnitNotificationRegistrationService
test_class.file: herd-code/herd-rest/src/test/java/org/finra/herd/rest/StorageUnitNotificationRegistrationRestControllerTest.java
test_class.identifier: StorageUnitNotificationRegistrationRestControllerTest
test_class.superclass: extends AbstractRestTest
test_case.body: @Test
      public void testGetStorageUnitNotificationRegistrationsByNamespace()
      {
  
          StorageUnitNotificationRegistrationKeys storageUnitNotificationRegistrationKeys =
              new StorageUnitNotificationRegistrationKeys(notificationRegistrationDaoTestHelper.getExpectedNotificationRegistrationKeys());
  
          when(storageUnitNotificationRegistrationService.getStorageUnitNotificationRegistrationsByNamespace(NAMESPACE))
              .thenReturn(storageUnitNotificationRegistrationKeys);
  
  
          // Retrieve a list of business object data notification registration keys.
          StorageUnitNotificationRegistrationKeys resultStorageUnitNotificationRegistrationKeys =
              storageUnitNotificationRegistrationRestController.getStorageUnitNotificationRegistrationsByNamespace(NAMESPACE);
  
          // Verify the external calls.
          verify(storageUnitNotificationRegistrationService).getStorageUnitNotificationRegistrationsByNamespace(NAMESPACE);
          verifyNoMoreInteractions(storageUnitNotificationRegistrationService);
  
          // Validate the returned object.
          assertEquals(storageUnitNotificationRegistrationKeys, resultStorageUnitNotificationRegistrationKeys);
      }
test_case.class_method_signature: StorageUnitNotificationRegistrationRestControllerTest.testGetStorageUnitNotificationRegistrationsByNamespace()
test_case.full_signature: @Test public void testGetStorageUnitNotificationRegistrationsByNamespace()
test_case.identifier: testGetStorageUnitNotificationRegistrationsByNamespace
test_case.invocations: getExpectedNotificationRegistrationKeys thenReturn when getStorageUnitNotificationRegistrationsByNamespace getStorageUnitNotificationRegistrationsByNamespace getStorageUnitNotificationRegistrationsByNamespace verify verifyNoMoreInteractions assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetStorageUnitNotificationRegistrationsByNamespace()
focal_class.declarator: STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX = "/notificationRegistrations/storageUnitNotificationRegistrations"
focal_class.modifier: public static final
focal_class.original_string: public static final String STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX = "/notificationRegistrations/storageUnitNotificationRegistrations";
focal_class.type: String
focal_class.var_name: STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX
focal_class.declarator: storageUnitNotificationRegistrationService
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private StorageUnitNotificationRegistrationService storageUnitNotificationRegistrationService;
focal_class.type: StorageUnitNotificationRegistrationService
focal_class.var_name: storageUnitNotificationRegistrationService
focal_class.file: herd-code/herd-rest/src/main/java/org/finra/herd/rest/StorageUnitNotificationRegistrationRestController.java
focal_class.identifier: StorageUnitNotificationRegistrationRestController
focal_class.class_method_signature: StorageUnitNotificationRegistrationRestController.createStorageUnitNotificationRegistration(@RequestBody StorageUnitNotificationRegistrationCreateRequest request)
focal_class.full_signature: @RequestMapping(value = STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_POST) public StorageUnitNotificationRegistration createStorageUnitNotificationRegistration(@RequestBody StorageUnitNotificationRegistrationCreateRequest request)
focal_class.identifier: createStorageUnitNotificationRegistration
focal_class.modifiers: @RequestMapping(value = STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_POST) public
focal_class.parameters: (@RequestBody StorageUnitNotificationRegistrationCreateRequest request)
focal_class.return: StorageUnitNotificationRegistration
focal_class.signature: StorageUnitNotificationRegistration createStorageUnitNotificationRegistration(@RequestBody StorageUnitNotificationRegistrationCreateRequest request)
focal_class.class_method_signature: StorageUnitNotificationRegistrationRestController.deleteStorageUnitNotification(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
focal_class.full_signature: @RequestMapping(value = STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}/notificationNames/{notificationName}", method = RequestMethod.DELETE) @Secured(SecurityFunctions.FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_DELETE) public StorageUnitNotificationRegistration deleteStorageUnitNotification(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
focal_class.identifier: deleteStorageUnitNotification
focal_class.modifiers: @RequestMapping(value = STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}/notificationNames/{notificationName}", method = RequestMethod.DELETE) @Secured(SecurityFunctions.FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_DELETE) public
focal_class.parameters: (@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
focal_class.return: StorageUnitNotificationRegistration
focal_class.signature: StorageUnitNotificationRegistration deleteStorageUnitNotification(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
focal_class.class_method_signature: StorageUnitNotificationRegistrationRestController.getStorageUnitNotificationRegistration(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
focal_class.full_signature: @RequestMapping(value = STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}/notificationNames/{notificationName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_GET) public StorageUnitNotificationRegistration getStorageUnitNotificationRegistration(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
focal_class.identifier: getStorageUnitNotificationRegistration
focal_class.modifiers: @RequestMapping(value = STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}/notificationNames/{notificationName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_GET) public
focal_class.parameters: (@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
focal_class.return: StorageUnitNotificationRegistration
focal_class.signature: StorageUnitNotificationRegistration getStorageUnitNotificationRegistration(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName)
focal_class.class_method_signature: StorageUnitNotificationRegistrationRestController.getStorageUnitNotificationRegistrationsByNamespace(@PathVariable("namespace") String namespace)
focal_class.full_signature: @RequestMapping(value = STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_BY_NAMESPACE_GET) public StorageUnitNotificationRegistrationKeys getStorageUnitNotificationRegistrationsByNamespace(@PathVariable("namespace") String namespace)
focal_class.identifier: getStorageUnitNotificationRegistrationsByNamespace
focal_class.modifiers: @RequestMapping(value = STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_BY_NAMESPACE_GET) public
focal_class.parameters: (@PathVariable("namespace") String namespace)
focal_class.return: StorageUnitNotificationRegistrationKeys
focal_class.signature: StorageUnitNotificationRegistrationKeys getStorageUnitNotificationRegistrationsByNamespace(@PathVariable("namespace") String namespace)
focal_class.class_method_signature: StorageUnitNotificationRegistrationRestController.getStorageUnitNotificationRegistrationsByNotificationFilter(
          @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 = STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX, method = RequestMethod.GET) @Secured(SecurityFunctions.FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_BY_NOTIFICATION_FILTER_GET) public StorageUnitNotificationRegistrationKeys getStorageUnitNotificationRegistrationsByNotificationFilter(
          @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: getStorageUnitNotificationRegistrationsByNotificationFilter
focal_class.modifiers: @RequestMapping(value = STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX, method = RequestMethod.GET) @Secured(SecurityFunctions.FN_STORAGE_UNIT_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: StorageUnitNotificationRegistrationKeys
focal_class.signature: StorageUnitNotificationRegistrationKeys getStorageUnitNotificationRegistrationsByNotificationFilter(
          @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.class_method_signature: StorageUnitNotificationRegistrationRestController.updateStorageUnitNotificationRegistration(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName, @RequestBody StorageUnitNotificationRegistrationUpdateRequest request)
focal_class.full_signature: @RequestMapping(value = STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}/notificationNames/{notificationName}", method = RequestMethod.PUT, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_PUT) public StorageUnitNotificationRegistration updateStorageUnitNotificationRegistration(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName, @RequestBody StorageUnitNotificationRegistrationUpdateRequest request)
focal_class.identifier: updateStorageUnitNotificationRegistration
focal_class.modifiers: @RequestMapping(value = STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}/notificationNames/{notificationName}", method = RequestMethod.PUT, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_PUT) public
focal_class.parameters: (@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName, @RequestBody StorageUnitNotificationRegistrationUpdateRequest request)
focal_class.return: StorageUnitNotificationRegistration
focal_class.signature: StorageUnitNotificationRegistration updateStorageUnitNotificationRegistration(@PathVariable("namespace") String namespace,
          @PathVariable("notificationName") String notificationName, @RequestBody StorageUnitNotificationRegistrationUpdateRequest request)
focal_class.superclass: extends HerdBaseController
focal_method.body: @RequestMapping(value = STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}", method = RequestMethod.GET)
      @Secured(SecurityFunctions.FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_BY_NAMESPACE_GET)
      public StorageUnitNotificationRegistrationKeys getStorageUnitNotificationRegistrationsByNamespace(@PathVariable("namespace") String namespace)
      {
          return storageUnitNotificationRegistrationService.getStorageUnitNotificationRegistrationsByNamespace(namespace);
      }
focal_method.class_method_signature: StorageUnitNotificationRegistrationRestController.getStorageUnitNotificationRegistrationsByNamespace(@PathVariable("namespace") String namespace)
focal_method.full_signature: @RequestMapping(value = STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_BY_NAMESPACE_GET) public StorageUnitNotificationRegistrationKeys getStorageUnitNotificationRegistrationsByNamespace(@PathVariable("namespace") String namespace)
focal_method.identifier: getStorageUnitNotificationRegistrationsByNamespace
focal_method.invocations: getStorageUnitNotificationRegistrationsByNamespace
focal_method.modifiers: @RequestMapping(value = STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX + "/namespaces/{namespace}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_BY_NAMESPACE_GET) public
focal_method.parameters: (@PathVariable("namespace") String namespace)
focal_method.return: StorageUnitNotificationRegistrationKeys
focal_method.signature: StorageUnitNotificationRegistrationKeys getStorageUnitNotificationRegistrationsByNamespace(@PathVariable("namespace") String namespace)