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: globalAttributeDefinitionHelper
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private GlobalAttributeDefinitionHelper globalAttributeDefinitionHelper;
test_class.type: GlobalAttributeDefinitionHelper
test_class.var_name: globalAttributeDefinitionHelper
test_class.file: herd-code/herd-service/src/test/java/org/finra/herd/service/helper/GlobalAttributeDefinitionHelperTest.java
test_class.identifier: GlobalAttributeDefinitionHelperTest
test_class.superclass: extends AbstractServiceTest
test_case.body: @Test
      public void testValidateGlobalAttributeDefinitionKeyMissingRequiredParameters()
      {
          // Try to call the method under test.
          try
          {
              globalAttributeDefinitionHelper.validateGlobalAttributeDefinitionKey(null);
              fail();
          }
          catch (IllegalArgumentException e)
          {
              assertEquals("A global attribute definition key must be specified.", e.getMessage());
          }
  
          // Verify the external calls.
          verifyNoMoreInteractions(alternateKeyHelper);
      }
test_case.class_method_signature: GlobalAttributeDefinitionHelperTest.testValidateGlobalAttributeDefinitionKeyMissingRequiredParameters()
test_case.full_signature: @Test public void testValidateGlobalAttributeDefinitionKeyMissingRequiredParameters()
test_case.identifier: testValidateGlobalAttributeDefinitionKeyMissingRequiredParameters
test_case.invocations: validateGlobalAttributeDefinitionKey fail assertEquals getMessage verifyNoMoreInteractions
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testValidateGlobalAttributeDefinitionKeyMissingRequiredParameters()
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/GlobalAttributeDefinitionHelper.java
focal_class.identifier: GlobalAttributeDefinitionHelper
focal_class.class_method_signature: GlobalAttributeDefinitionHelper.validateGlobalAttributeDefinitionKey(GlobalAttributeDefinitionKey globalAttributeDefinitionKey)
focal_class.full_signature: public void validateGlobalAttributeDefinitionKey(GlobalAttributeDefinitionKey globalAttributeDefinitionKey)
focal_class.identifier: validateGlobalAttributeDefinitionKey
focal_class.modifiers: public
focal_class.parameters: (GlobalAttributeDefinitionKey globalAttributeDefinitionKey)
focal_class.return: void
focal_class.signature: void validateGlobalAttributeDefinitionKey(GlobalAttributeDefinitionKey globalAttributeDefinitionKey)
focal_method.body: public void validateGlobalAttributeDefinitionKey(GlobalAttributeDefinitionKey globalAttributeDefinitionKey) throws IllegalArgumentException
      {
          // Validate.
          Assert.notNull(globalAttributeDefinitionKey, "A global attribute definition key must be specified.");
          globalAttributeDefinitionKey.setGlobalAttributeDefinitionLevel(
              alternateKeyHelper.validateStringParameter("global attribute definition level", globalAttributeDefinitionKey.getGlobalAttributeDefinitionLevel()));
          globalAttributeDefinitionKey.setGlobalAttributeDefinitionName(
              alternateKeyHelper.validateStringParameter("global attribute definition name", globalAttributeDefinitionKey.getGlobalAttributeDefinitionName()));
      }
focal_method.class_method_signature: GlobalAttributeDefinitionHelper.validateGlobalAttributeDefinitionKey(GlobalAttributeDefinitionKey globalAttributeDefinitionKey)
focal_method.full_signature: public void validateGlobalAttributeDefinitionKey(GlobalAttributeDefinitionKey globalAttributeDefinitionKey)
focal_method.identifier: validateGlobalAttributeDefinitionKey
focal_method.invocations: notNull setGlobalAttributeDefinitionLevel validateStringParameter getGlobalAttributeDefinitionLevel setGlobalAttributeDefinitionName validateStringParameter getGlobalAttributeDefinitionName
focal_method.modifiers: public
focal_method.parameters: (GlobalAttributeDefinitionKey globalAttributeDefinitionKey)
focal_method.return: void
focal_method.signature: void validateGlobalAttributeDefinitionKey(GlobalAttributeDefinitionKey globalAttributeDefinitionKey)