@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);
}