test_class.declarator: attributeValueListRestController
test_class.modifier: @InjectMocks
      private
test_class.original_string: @InjectMocks
      private AttributeValueListRestController attributeValueListRestController;
test_class.type: AttributeValueListRestController
test_class.var_name: attributeValueListRestController
test_class.declarator: attributeValueListService
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private AttributeValueListService attributeValueListService;
test_class.type: AttributeValueListService
test_class.var_name: attributeValueListService
test_class.file: herd-code/herd-rest/src/test/java/org/finra/herd/rest/AttributeValueListRestControllerTest.java
test_class.identifier: AttributeValueListRestControllerTest
test_class.superclass: extends AbstractRestTest
test_case.body: @Test
      public void testGetAttributeValueLists()
      {
          // Create an attribute value list key.
          AttributeValueListKeys attributeValueListKeys =
              new AttributeValueListKeys(Arrays.asList(new AttributeValueListKey(ATTRIBUTE_VALUE_LIST_NAMESPACE, ATTRIBUTE_VALUE_LIST_NAME)));
  
          // Mock calls to external methods.
          when(attributeValueListService.getAttributeValueLists()).thenReturn(attributeValueListKeys);
  
          // Call the method under test.
          AttributeValueListKeys result = attributeValueListRestController.getAttributeValueLists();
  
          // Verify the external calls.
          verify(attributeValueListService).getAttributeValueLists();
          verifyNoMoreInteractions(attributeValueListService);
  
          // Validate the result.
          assertEquals(attributeValueListKeys, result);
      }
test_case.class_method_signature: AttributeValueListRestControllerTest.testGetAttributeValueLists()
test_case.full_signature: @Test public void testGetAttributeValueLists()
test_case.identifier: testGetAttributeValueLists
test_case.invocations: asList thenReturn when getAttributeValueLists getAttributeValueLists getAttributeValueLists verify verifyNoMoreInteractions assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetAttributeValueLists()
focal_class.declarator: ATTRIBUTE_VALUE_LIST_URI_PREFIX = "/attributeValueLists"
focal_class.modifier: public static final
focal_class.original_string: public static final String ATTRIBUTE_VALUE_LIST_URI_PREFIX = "/attributeValueLists";
focal_class.type: String
focal_class.var_name: ATTRIBUTE_VALUE_LIST_URI_PREFIX
focal_class.declarator: attributeValueListService
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private AttributeValueListService attributeValueListService;
focal_class.type: AttributeValueListService
focal_class.var_name: attributeValueListService
focal_class.file: herd-code/herd-rest/src/main/java/org/finra/herd/rest/AttributeValueListRestController.java
focal_class.identifier: AttributeValueListRestController
focal_class.class_method_signature: AttributeValueListRestController.createAttributeValueList(@RequestBody AttributeValueListCreateRequest request)
focal_class.full_signature: @RequestMapping(value = ATTRIBUTE_VALUE_LIST_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_ATTRIBUTE_VALUE_LISTS_POST) public AttributeValueList createAttributeValueList(@RequestBody AttributeValueListCreateRequest request)
focal_class.identifier: createAttributeValueList
focal_class.modifiers: @RequestMapping(value = ATTRIBUTE_VALUE_LIST_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"}) @Secured(SecurityFunctions.FN_ATTRIBUTE_VALUE_LISTS_POST) public
focal_class.parameters: (@RequestBody AttributeValueListCreateRequest request)
focal_class.return: AttributeValueList
focal_class.signature: AttributeValueList createAttributeValueList(@RequestBody AttributeValueListCreateRequest request)
focal_class.class_method_signature: AttributeValueListRestController.deleteAttributeValueList(@PathVariable("namespace") String namespace,
          @PathVariable("attributeValueListName") String attributeValueListName)
focal_class.full_signature: @RequestMapping(value = ATTRIBUTE_VALUE_LIST_URI_PREFIX + "/namespaces/{namespace}/attributeValueListNames/{attributeValueListName}", method = RequestMethod.DELETE) @Secured(SecurityFunctions.FN_ATTRIBUTE_VALUE_LISTS_DELETE) public AttributeValueList deleteAttributeValueList(@PathVariable("namespace") String namespace,
          @PathVariable("attributeValueListName") String attributeValueListName)
focal_class.identifier: deleteAttributeValueList
focal_class.modifiers: @RequestMapping(value = ATTRIBUTE_VALUE_LIST_URI_PREFIX + "/namespaces/{namespace}/attributeValueListNames/{attributeValueListName}", method = RequestMethod.DELETE) @Secured(SecurityFunctions.FN_ATTRIBUTE_VALUE_LISTS_DELETE) public
focal_class.parameters: (@PathVariable("namespace") String namespace,
          @PathVariable("attributeValueListName") String attributeValueListName)
focal_class.return: AttributeValueList
focal_class.signature: AttributeValueList deleteAttributeValueList(@PathVariable("namespace") String namespace,
          @PathVariable("attributeValueListName") String attributeValueListName)
focal_class.class_method_signature: AttributeValueListRestController.getAttributeValueList(@PathVariable("namespace") String namespace,
          @PathVariable("attributeValueListName") String attributeValueListName)
focal_class.full_signature: @RequestMapping(value = ATTRIBUTE_VALUE_LIST_URI_PREFIX + "/namespaces/{namespace}/attributeValueListNames/{attributeValueListName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_ATTRIBUTE_VALUE_LISTS_GET) public AttributeValueList getAttributeValueList(@PathVariable("namespace") String namespace,
          @PathVariable("attributeValueListName") String attributeValueListName)
focal_class.identifier: getAttributeValueList
focal_class.modifiers: @RequestMapping(value = ATTRIBUTE_VALUE_LIST_URI_PREFIX + "/namespaces/{namespace}/attributeValueListNames/{attributeValueListName}", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_ATTRIBUTE_VALUE_LISTS_GET) public
focal_class.parameters: (@PathVariable("namespace") String namespace,
          @PathVariable("attributeValueListName") String attributeValueListName)
focal_class.return: AttributeValueList
focal_class.signature: AttributeValueList getAttributeValueList(@PathVariable("namespace") String namespace,
          @PathVariable("attributeValueListName") String attributeValueListName)
focal_class.class_method_signature: AttributeValueListRestController.getAttributeValueLists()
focal_class.full_signature: @RequestMapping(value = ATTRIBUTE_VALUE_LIST_URI_PREFIX, method = RequestMethod.GET) @Secured(SecurityFunctions.FN_ATTRIBUTE_VALUE_LISTS_ALL_GET) public AttributeValueListKeys getAttributeValueLists()
focal_class.identifier: getAttributeValueLists
focal_class.modifiers: @RequestMapping(value = ATTRIBUTE_VALUE_LIST_URI_PREFIX, method = RequestMethod.GET) @Secured(SecurityFunctions.FN_ATTRIBUTE_VALUE_LISTS_ALL_GET) public
focal_class.parameters: ()
focal_class.return: AttributeValueListKeys
focal_class.signature: AttributeValueListKeys getAttributeValueLists()
focal_class.superclass: extends HerdBaseController
focal_method.body: @RequestMapping(value = ATTRIBUTE_VALUE_LIST_URI_PREFIX, method = RequestMethod.GET)
      @Secured(SecurityFunctions.FN_ATTRIBUTE_VALUE_LISTS_ALL_GET)
      public AttributeValueListKeys getAttributeValueLists()
      {
          return attributeValueListService.getAttributeValueLists();
      }
focal_method.class_method_signature: AttributeValueListRestController.getAttributeValueLists()
focal_method.full_signature: @RequestMapping(value = ATTRIBUTE_VALUE_LIST_URI_PREFIX, method = RequestMethod.GET) @Secured(SecurityFunctions.FN_ATTRIBUTE_VALUE_LISTS_ALL_GET) public AttributeValueListKeys getAttributeValueLists()
focal_method.identifier: getAttributeValueLists
focal_method.invocations: getAttributeValueLists
focal_method.modifiers: @RequestMapping(value = ATTRIBUTE_VALUE_LIST_URI_PREFIX, method = RequestMethod.GET) @Secured(SecurityFunctions.FN_ATTRIBUTE_VALUE_LISTS_ALL_GET) public
focal_method.parameters: ()
focal_method.return: AttributeValueListKeys
focal_method.signature: AttributeValueListKeys getAttributeValueLists()