test_class.declarator: attributeValueListDao
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private AttributeValueListDao attributeValueListDao;
test_class.type: AttributeValueListDao
test_class.var_name: attributeValueListDao
test_class.declarator: attributeValueListDaoHelper
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private AttributeValueListDaoHelper attributeValueListDaoHelper;
test_class.type: AttributeValueListDaoHelper
test_class.var_name: attributeValueListDaoHelper
test_class.file: herd-code/herd-service/src/test/java/org/finra/herd/service/helper/AttributeValueListDaoHelperTest.java
test_class.identifier: AttributeValueListDaoHelperTest
test_class.superclass: extends AbstractServiceTest
test_case.body: @Test
      public void testGetAttributeValueListEntityAttributeValueListEntityNoExists()
      {
          // Create an attribute value list key.
          AttributeValueListKey attributeValueListKey = new AttributeValueListKey(ATTRIBUTE_VALUE_LIST_NAMESPACE, ATTRIBUTE_VALUE_LIST_NAME);
  
          // Mock calls to external methods.
          when(attributeValueListDao.getAttributeValueListByKey(attributeValueListKey)).thenReturn(null);
  
          // Try to call the method under test.
          try
          {
              attributeValueListDaoHelper.getAttributeValueListEntity(attributeValueListKey);
          }
          catch (ObjectNotFoundException e)
          {
              assertEquals(String
                  .format("Attribute value list with name \"%s\" doesn't exist for namespace \"%s\".", ATTRIBUTE_VALUE_LIST_NAME, ATTRIBUTE_VALUE_LIST_NAMESPACE),
                  e.getMessage());
          }
  
          // Verify the external calls.
          verify(attributeValueListDao).getAttributeValueListByKey(attributeValueListKey);
          verifyNoMoreInteractions(attributeValueListDao);
      }
test_case.class_method_signature: AttributeValueListDaoHelperTest.testGetAttributeValueListEntityAttributeValueListEntityNoExists()
test_case.full_signature: @Test public void testGetAttributeValueListEntityAttributeValueListEntityNoExists()
test_case.identifier: testGetAttributeValueListEntityAttributeValueListEntityNoExists
test_case.invocations: thenReturn when getAttributeValueListByKey getAttributeValueListEntity assertEquals format getMessage getAttributeValueListByKey verify verifyNoMoreInteractions
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetAttributeValueListEntityAttributeValueListEntityNoExists()
focal_class.declarator: attributeValueListDao
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private AttributeValueListDao attributeValueListDao;
focal_class.type: AttributeValueListDao
focal_class.var_name: attributeValueListDao
focal_class.file: herd-code/herd-service/src/main/java/org/finra/herd/service/helper/AttributeValueListDaoHelper.java
focal_class.identifier: AttributeValueListDaoHelper
focal_class.class_method_signature: AttributeValueListDaoHelper.getAttributeValueListEntity(AttributeValueListKey attributeValueListKey)
focal_class.full_signature: public AttributeValueListEntity getAttributeValueListEntity(AttributeValueListKey attributeValueListKey)
focal_class.identifier: getAttributeValueListEntity
focal_class.modifiers: public
focal_class.parameters: (AttributeValueListKey attributeValueListKey)
focal_class.return: AttributeValueListEntity
focal_class.signature: AttributeValueListEntity getAttributeValueListEntity(AttributeValueListKey attributeValueListKey)
focal_class.class_method_signature: AttributeValueListDaoHelper.createAttributeValueListFromEntity(AttributeValueListEntity attributeValueListEntity)
focal_class.full_signature: public AttributeValueList createAttributeValueListFromEntity(AttributeValueListEntity attributeValueListEntity)
focal_class.identifier: createAttributeValueListFromEntity
focal_class.modifiers: public
focal_class.parameters: (AttributeValueListEntity attributeValueListEntity)
focal_class.return: AttributeValueList
focal_class.signature: AttributeValueList createAttributeValueListFromEntity(AttributeValueListEntity attributeValueListEntity)
focal_method.body: public AttributeValueListEntity getAttributeValueListEntity(AttributeValueListKey attributeValueListKey)
      {
          AttributeValueListEntity attributeValueListEntity = attributeValueListDao.getAttributeValueListByKey(attributeValueListKey);
  
          if (attributeValueListEntity == null)
          {
              throw new ObjectNotFoundException(String
                  .format("Attribute value list with name \"%s\" doesn't exist for namespace \"%s\".", attributeValueListKey.getAttributeValueListName(),
                      attributeValueListKey.getNamespace()));
          }
  
          return attributeValueListEntity;
      }
focal_method.class_method_signature: AttributeValueListDaoHelper.getAttributeValueListEntity(AttributeValueListKey attributeValueListKey)
focal_method.full_signature: public AttributeValueListEntity getAttributeValueListEntity(AttributeValueListKey attributeValueListKey)
focal_method.identifier: getAttributeValueListEntity
focal_method.invocations: getAttributeValueListByKey format getAttributeValueListName getNamespace
focal_method.modifiers: public
focal_method.parameters: (AttributeValueListKey attributeValueListKey)
focal_method.return: AttributeValueListEntity
focal_method.signature: AttributeValueListEntity getAttributeValueListEntity(AttributeValueListKey attributeValueListKey)