test_class.file: herd-code/herd-service/src/test/java/org/finra/herd/service/helper/NotificationRegistrationDaoHelperTest.java
test_class.identifier: NotificationRegistrationDaoHelperTest
test_class.superclass: extends AbstractServiceTest
test_case.body: @Test
      public void testGetNotificationRegistrationAssertReturnEntityWhenEntityExists()
      {
          NotificationRegistrationKey businessObjectDataNotificationRegistrationKey = new NotificationRegistrationKey(NAMESPACE, BDEF_NAME);
          notificationRegistrationDaoTestHelper.createBusinessObjectDataNotificationRegistrationEntity(businessObjectDataNotificationRegistrationKey,
              NotificationEventTypeEntity.EventTypesBdata.BUS_OBJCT_DATA_STTS_CHG.name(), NAMESPACE, BDEF_NAME, FORMAT_USAGE_CODE, FORMAT_FILE_TYPE_CODE,
              FORMAT_VERSION, STORAGE_NAME, BDATA_STATUS, BDATA_STATUS, notificationRegistrationDaoTestHelper.getTestJobActions(),
              NotificationRegistrationStatusEntity.ENABLED);
          NotificationRegistrationEntity notificationRegistrationEntity = notificationRegistrationDaoHelper.getNotificationRegistration(NAMESPACE, BDEF_NAME);
          assertNotNull(notificationRegistrationEntity);
          assertEquals(NAMESPACE, notificationRegistrationEntity.getNamespace().getCode());
          assertEquals(BDEF_NAME, notificationRegistrationEntity.getName());
      }
test_case.class_method_signature: NotificationRegistrationDaoHelperTest.testGetNotificationRegistrationAssertReturnEntityWhenEntityExists()
test_case.full_signature: @Test public void testGetNotificationRegistrationAssertReturnEntityWhenEntityExists()
test_case.identifier: testGetNotificationRegistrationAssertReturnEntityWhenEntityExists
test_case.invocations: createBusinessObjectDataNotificationRegistrationEntity name getTestJobActions getNotificationRegistration assertNotNull assertEquals getCode getNamespace assertEquals getName
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetNotificationRegistrationAssertReturnEntityWhenEntityExists()
focal_class.declarator: notificationRegistrationDao
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private NotificationRegistrationDao notificationRegistrationDao;
focal_class.type: NotificationRegistrationDao
focal_class.var_name: notificationRegistrationDao
focal_class.file: herd-code/herd-service/src/main/java/org/finra/herd/service/helper/NotificationRegistrationDaoHelper.java
focal_class.identifier: NotificationRegistrationDaoHelper
focal_class.class_method_signature: NotificationRegistrationDaoHelper.getNotificationRegistration(String namespace, String name)
focal_class.full_signature: public NotificationRegistrationEntity getNotificationRegistration(String namespace, String name)
focal_class.identifier: getNotificationRegistration
focal_class.modifiers: public
focal_class.parameters: (String namespace, String name)
focal_class.return: NotificationRegistrationEntity
focal_class.signature: NotificationRegistrationEntity getNotificationRegistration(String namespace, String name)
focal_method.body: public NotificationRegistrationEntity getNotificationRegistration(String namespace, String name)
      {
          NotificationRegistrationEntity notificationRegistration = notificationRegistrationDao.getNotificationRegistration(namespace, name);
          if (notificationRegistration == null)
          {
              throw new ObjectNotFoundException("The notification registration with namespace \"" + namespace + "\" and name \"" + name + "\" was not found.");
          }
          return notificationRegistration;
      }
focal_method.class_method_signature: NotificationRegistrationDaoHelper.getNotificationRegistration(String namespace, String name)
focal_method.full_signature: public NotificationRegistrationEntity getNotificationRegistration(String namespace, String name)
focal_method.identifier: getNotificationRegistration
focal_method.invocations: getNotificationRegistration
focal_method.modifiers: public
focal_method.parameters: (String namespace, String name)
focal_method.return: NotificationRegistrationEntity
focal_method.signature: NotificationRegistrationEntity getNotificationRegistration(String namespace, String name)