test_class.declarator: alternateKeyHelper
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private AlternateKeyHelper alternateKeyHelper;
test_class.type: AlternateKeyHelper
test_class.var_name: alternateKeyHelper
test_class.declarator: attributeValueListHelper
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private AttributeValueListHelper attributeValueListHelper;
test_class.type: AttributeValueListHelper
test_class.var_name: attributeValueListHelper
test_class.file: herd-code/herd-service/src/test/java/org/finra/herd/service/helper/AttributeValueListHelperTest.java
test_class.identifier: AttributeValueListHelperTest
test_class.superclass: extends AbstractServiceTest
test_case.body: @Test
      public void createValidateAttributeValueListCreateRequest()
      {
          // Create an attribute value list key.
          AttributeValueListKey attributeValueListKey = new AttributeValueListKey(ATTRIBUTE_VALUE_LIST_NAMESPACE, ATTRIBUTE_VALUE_LIST_NAME);
  
          // Create an attribute value list create request.
          AttributeValueListCreateRequest request = new AttributeValueListCreateRequest(attributeValueListKey);
  
          // Mock calls to external methods.
          when(alternateKeyHelper.validateStringParameter("namespace", ATTRIBUTE_VALUE_LIST_NAMESPACE)).thenReturn(ATTRIBUTE_VALUE_LIST_NAMESPACE);
          when(alternateKeyHelper.validateStringParameter("An", "attribute value list name", ATTRIBUTE_VALUE_LIST_NAME)).thenReturn(ATTRIBUTE_VALUE_LIST_NAME);
  
          // Call the method under test.
          attributeValueListHelper.validateAttributeValueListCreateRequest(request);
  
          // Verify the external calls.
          verify(alternateKeyHelper).validateStringParameter("namespace", ATTRIBUTE_VALUE_LIST_NAMESPACE);
          verify(alternateKeyHelper).validateStringParameter("An", "attribute value list name", ATTRIBUTE_VALUE_LIST_NAME);
          verifyNoMoreInteractions(alternateKeyHelper);
  
          // Validate the result.
          assertEquals(new AttributeValueListCreateRequest(attributeValueListKey), request);
      }
test_case.class_method_signature: AttributeValueListHelperTest.createValidateAttributeValueListCreateRequest()
test_case.full_signature: @Test public void createValidateAttributeValueListCreateRequest()
test_case.identifier: createValidateAttributeValueListCreateRequest
test_case.invocations: thenReturn when validateStringParameter thenReturn when validateStringParameter validateAttributeValueListCreateRequest validateStringParameter verify validateStringParameter verify verifyNoMoreInteractions assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void createValidateAttributeValueListCreateRequest()
focal_class.declarator: alternateKeyHelper
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private AlternateKeyHelper alternateKeyHelper;
focal_class.type: AlternateKeyHelper
focal_class.var_name: alternateKeyHelper
focal_class.file: herd-code/herd-service/src/main/java/org/finra/herd/service/helper/AttributeValueListHelper.java
focal_class.identifier: AttributeValueListHelper
focal_class.class_method_signature: AttributeValueListHelper.validateAttributeValueListCreateRequest(AttributeValueListCreateRequest attributeValueListCreateRequest)
focal_class.full_signature: public void validateAttributeValueListCreateRequest(AttributeValueListCreateRequest attributeValueListCreateRequest)
focal_class.identifier: validateAttributeValueListCreateRequest
focal_class.modifiers: public
focal_class.parameters: (AttributeValueListCreateRequest attributeValueListCreateRequest)
focal_class.return: void
focal_class.signature: void validateAttributeValueListCreateRequest(AttributeValueListCreateRequest attributeValueListCreateRequest)
focal_class.class_method_signature: AttributeValueListHelper.validateAttributeValueListKey(AttributeValueListKey attributeValueListKey)
focal_class.full_signature: public void validateAttributeValueListKey(AttributeValueListKey attributeValueListKey)
focal_class.identifier: validateAttributeValueListKey
focal_class.modifiers: public
focal_class.parameters: (AttributeValueListKey attributeValueListKey)
focal_class.return: void
focal_class.signature: void validateAttributeValueListKey(AttributeValueListKey attributeValueListKey)
focal_method.body: public void validateAttributeValueListCreateRequest(AttributeValueListCreateRequest attributeValueListCreateRequest)
      {
          Assert.notNull(attributeValueListCreateRequest, "An attribute value list create request must be specified.");
          validateAttributeValueListKey(attributeValueListCreateRequest.getAttributeValueListKey());
      }
focal_method.class_method_signature: AttributeValueListHelper.validateAttributeValueListCreateRequest(AttributeValueListCreateRequest attributeValueListCreateRequest)
focal_method.full_signature: public void validateAttributeValueListCreateRequest(AttributeValueListCreateRequest attributeValueListCreateRequest)
focal_method.identifier: validateAttributeValueListCreateRequest
focal_method.invocations: notNull validateAttributeValueListKey getAttributeValueListKey
focal_method.modifiers: public
focal_method.parameters: (AttributeValueListCreateRequest attributeValueListCreateRequest)
focal_method.return: void
focal_method.signature: void validateAttributeValueListCreateRequest(AttributeValueListCreateRequest attributeValueListCreateRequest)