test_class.declarator: attributeValueListKeyNull = null
test_class.modifier: private
test_class.original_string: private AttributeValueListKey attributeValueListKeyNull = null;
test_class.type: AttributeValueListKey
test_class.var_name: attributeValueListKeyNull
test_class.declarator: attributeValueListNull = null
test_class.modifier: private
test_class.original_string: private AttributeValueList attributeValueListNull = null;
test_class.type: AttributeValueList
test_class.var_name: attributeValueListNull
test_class.declarator: globalAttributeDefinitionRestController
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private GlobalAttributeDefinitionRestController globalAttributeDefinitionRestController;
test_class.type: GlobalAttributeDefinitionRestController
test_class.var_name: globalAttributeDefinitionRestController
test_class.declarator: globalAttributeDefinitionService
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private GlobalAttributeDefinitionService globalAttributeDefinitionService;
test_class.type: GlobalAttributeDefinitionService
test_class.var_name: globalAttributeDefinitionService
test_class.file: herd-code/herd-rest/src/test/java/org/finra/herd/rest/GlobalAttributeDefinitionRestControllerTest.java
test_class.identifier: GlobalAttributeDefinitionRestControllerTest
test_class.superclass: extends AbstractRestTest
test_case.body: @Test
      public void testGetGlobalAttributeDefinitions()
      {
          // Create a list of global attribute definition keys.
          GlobalAttributeDefinitionKeys globalAttributeDefinitionKeys = new GlobalAttributeDefinitionKeys(Arrays
              .asList(new GlobalAttributeDefinitionKey(GLOBAL_ATTRIBUTE_DEFINITON_LEVEL, GLOBAL_ATTRIBUTE_DEFINITON_NAME),
                  new GlobalAttributeDefinitionKey(GLOBAL_ATTRIBUTE_DEFINITON_LEVEL, GLOBAL_ATTRIBUTE_DEFINITON_NAME_2)));
  
          // Mock calls to external methods.
          when(globalAttributeDefinitionService.getGlobalAttributeDefinitionKeys()).thenReturn(globalAttributeDefinitionKeys);
  
          // Call the method under test.
          GlobalAttributeDefinitionKeys response = globalAttributeDefinitionRestController.getGlobalAttributeDefinitions();
  
          // Verify the external calls.
          verify(globalAttributeDefinitionService).getGlobalAttributeDefinitionKeys();
          verifyNoMoreInteractions(globalAttributeDefinitionService);
  
          // Validate the response.
          assertEquals(new GlobalAttributeDefinitionKeys(Arrays
              .asList(new GlobalAttributeDefinitionKey(GLOBAL_ATTRIBUTE_DEFINITON_LEVEL, GLOBAL_ATTRIBUTE_DEFINITON_NAME),
                  new GlobalAttributeDefinitionKey(GLOBAL_ATTRIBUTE_DEFINITON_LEVEL, GLOBAL_ATTRIBUTE_DEFINITON_NAME_2))), response);
      }
test_case.class_method_signature: GlobalAttributeDefinitionRestControllerTest.testGetGlobalAttributeDefinitions()
test_case.full_signature: @Test public void testGetGlobalAttributeDefinitions()
test_case.identifier: testGetGlobalAttributeDefinitions
test_case.invocations: asList thenReturn when getGlobalAttributeDefinitionKeys getGlobalAttributeDefinitions getGlobalAttributeDefinitionKeys verify verifyNoMoreInteractions assertEquals asList
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetGlobalAttributeDefinitions()
focal_class.declarator: GLOBAL_ATTRIBUTE_DEFINITIONS_URI_PREFIX = "/globalAttributeDefinitions"
focal_class.modifier: public final static
focal_class.original_string: public final static String GLOBAL_ATTRIBUTE_DEFINITIONS_URI_PREFIX = "/globalAttributeDefinitions";
focal_class.type: String
focal_class.var_name: GLOBAL_ATTRIBUTE_DEFINITIONS_URI_PREFIX
focal_class.declarator: globalAttributeDefinitionService
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private GlobalAttributeDefinitionService globalAttributeDefinitionService;
focal_class.type: GlobalAttributeDefinitionService
focal_class.var_name: globalAttributeDefinitionService
focal_class.file: herd-code/herd-rest/src/main/java/org/finra/herd/rest/GlobalAttributeDefinitionRestController.java
focal_class.identifier: GlobalAttributeDefinitionRestController
focal_class.class_method_signature: GlobalAttributeDefinitionRestController.createGlobalAttributeDefinition(@RequestBody GlobalAttributeDefinitionCreateRequest globalAttributeDefinitionCreateRequest)
focal_class.full_signature: @RequestMapping(value = GLOBAL_ATTRIBUTE_DEFINITIONS_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_GLOBAL_ATTRIBUTE_DEFINITIONS_POST) public GlobalAttributeDefinition createGlobalAttributeDefinition(@RequestBody GlobalAttributeDefinitionCreateRequest globalAttributeDefinitionCreateRequest)
focal_class.identifier: createGlobalAttributeDefinition
focal_class.modifiers: @RequestMapping(value = GLOBAL_ATTRIBUTE_DEFINITIONS_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_GLOBAL_ATTRIBUTE_DEFINITIONS_POST) public
focal_class.parameters: (@RequestBody GlobalAttributeDefinitionCreateRequest globalAttributeDefinitionCreateRequest)
focal_class.return: GlobalAttributeDefinition
focal_class.signature: GlobalAttributeDefinition createGlobalAttributeDefinition(@RequestBody GlobalAttributeDefinitionCreateRequest globalAttributeDefinitionCreateRequest)
focal_class.class_method_signature: GlobalAttributeDefinitionRestController.deleteGlobalAttributeDefinition(@PathVariable("globalAttributeDefinitionLevel") String globalAttributeDefinitionLevel,
          @PathVariable("globalAttributeDefinitionName") String globalAttributeDefinitionName)
focal_class.full_signature: @RequestMapping(value = GLOBAL_ATTRIBUTE_DEFINITIONS_URI_PREFIX + "/globalAttributeDefinitionLevels/{globalAttributeDefinitionLevel}/globalAttributeDefinitionNames/{globalAttributeDefinitionName}", method = RequestMethod.DELETE) @Secured(SecurityFunctions.FN_GLOBAL_ATTRIBUTE_DEFINITIONS_DELETE) public GlobalAttributeDefinition deleteGlobalAttributeDefinition(@PathVariable("globalAttributeDefinitionLevel") String globalAttributeDefinitionLevel,
          @PathVariable("globalAttributeDefinitionName") String globalAttributeDefinitionName)
focal_class.identifier: deleteGlobalAttributeDefinition
focal_class.modifiers: @RequestMapping(value = GLOBAL_ATTRIBUTE_DEFINITIONS_URI_PREFIX + "/globalAttributeDefinitionLevels/{globalAttributeDefinitionLevel}/globalAttributeDefinitionNames/{globalAttributeDefinitionName}", method = RequestMethod.DELETE) @Secured(SecurityFunctions.FN_GLOBAL_ATTRIBUTE_DEFINITIONS_DELETE) public
focal_class.parameters: (@PathVariable("globalAttributeDefinitionLevel") String globalAttributeDefinitionLevel,
          @PathVariable("globalAttributeDefinitionName") String globalAttributeDefinitionName)
focal_class.return: GlobalAttributeDefinition
focal_class.signature: GlobalAttributeDefinition deleteGlobalAttributeDefinition(@PathVariable("globalAttributeDefinitionLevel") String globalAttributeDefinitionLevel,
          @PathVariable("globalAttributeDefinitionName") String globalAttributeDefinitionName)
focal_class.class_method_signature: GlobalAttributeDefinitionRestController.getGlobalAttributeDefinitions()
focal_class.full_signature: @RequestMapping(value = GLOBAL_ATTRIBUTE_DEFINITIONS_URI_PREFIX, method = RequestMethod.GET) @Secured(SecurityFunctions.FN_GLOBAL_ATTRIBUTE_DEFINITIONS_ALL_GET) public GlobalAttributeDefinitionKeys getGlobalAttributeDefinitions()
focal_class.identifier: getGlobalAttributeDefinitions
focal_class.modifiers: @RequestMapping(value = GLOBAL_ATTRIBUTE_DEFINITIONS_URI_PREFIX, method = RequestMethod.GET) @Secured(SecurityFunctions.FN_GLOBAL_ATTRIBUTE_DEFINITIONS_ALL_GET) public
focal_class.parameters: ()
focal_class.return: GlobalAttributeDefinitionKeys
focal_class.signature: GlobalAttributeDefinitionKeys getGlobalAttributeDefinitions()
focal_class.class_method_signature: GlobalAttributeDefinitionRestController.getGlobalAttributeDefinition(@PathVariable("globalAttributeDefinitionLevel") String globalAttributeDefinitionLevel,
          @PathVariable("globalAttributeDefinitionName") String globalAttributeDefinitionName)
focal_class.full_signature: @RequestMapping(value = GLOBAL_ATTRIBUTE_DEFINITIONS_URI_PREFIX + "/globalAttributeDefinitionLevels/{globalAttributeDefinitionLevel}/globalAttributeDefinitionNames/{globalAttributeDefinitionName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_GLOBAL_ATTRIBUTE_DEFINITIONS_GET) public GlobalAttributeDefinition getGlobalAttributeDefinition(@PathVariable("globalAttributeDefinitionLevel") String globalAttributeDefinitionLevel,
          @PathVariable("globalAttributeDefinitionName") String globalAttributeDefinitionName)
focal_class.identifier: getGlobalAttributeDefinition
focal_class.modifiers: @RequestMapping(value = GLOBAL_ATTRIBUTE_DEFINITIONS_URI_PREFIX + "/globalAttributeDefinitionLevels/{globalAttributeDefinitionLevel}/globalAttributeDefinitionNames/{globalAttributeDefinitionName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_GLOBAL_ATTRIBUTE_DEFINITIONS_GET) public
focal_class.parameters: (@PathVariable("globalAttributeDefinitionLevel") String globalAttributeDefinitionLevel,
          @PathVariable("globalAttributeDefinitionName") String globalAttributeDefinitionName)
focal_class.return: GlobalAttributeDefinition
focal_class.signature: GlobalAttributeDefinition getGlobalAttributeDefinition(@PathVariable("globalAttributeDefinitionLevel") String globalAttributeDefinitionLevel,
          @PathVariable("globalAttributeDefinitionName") String globalAttributeDefinitionName)
focal_method.body: @RequestMapping(value = GLOBAL_ATTRIBUTE_DEFINITIONS_URI_PREFIX, method = RequestMethod.GET)
      @Secured(SecurityFunctions.FN_GLOBAL_ATTRIBUTE_DEFINITIONS_ALL_GET)
      public GlobalAttributeDefinitionKeys getGlobalAttributeDefinitions()
      {
          return globalAttributeDefinitionService.getGlobalAttributeDefinitionKeys();
      }
focal_method.class_method_signature: GlobalAttributeDefinitionRestController.getGlobalAttributeDefinitions()
focal_method.full_signature: @RequestMapping(value = GLOBAL_ATTRIBUTE_DEFINITIONS_URI_PREFIX, method = RequestMethod.GET) @Secured(SecurityFunctions.FN_GLOBAL_ATTRIBUTE_DEFINITIONS_ALL_GET) public GlobalAttributeDefinitionKeys getGlobalAttributeDefinitions()
focal_method.identifier: getGlobalAttributeDefinitions
focal_method.invocations: getGlobalAttributeDefinitionKeys
focal_method.modifiers: @RequestMapping(value = GLOBAL_ATTRIBUTE_DEFINITIONS_URI_PREFIX, method = RequestMethod.GET) @Secured(SecurityFunctions.FN_GLOBAL_ATTRIBUTE_DEFINITIONS_ALL_GET) public
focal_method.parameters: ()
focal_method.return: GlobalAttributeDefinitionKeys
focal_method.signature: GlobalAttributeDefinitionKeys getGlobalAttributeDefinitions()