UsersListProvider implements ResourceListProvider { @Override public String[] getListNames() { return NAMES; }  void setUserDirectoryService(UserDirectoryService userDirectoryService); @Override String[] getListNames(); @Override Map<String, String> getList(String listName, ResourceListQuery query); @Override boolean isTranslatable(String listName); @Override String getDefault(); static final String NAME; static final String NAME_AND_EMAIL; static final String NAME_AND_USERNAME; static final String USERNAME; static final String EMAIL; static final String NAME_ONLY; static final String EMAIL_ONLY; static final String ROLE_ONLY; static final String USERDIRECTORY_ONLY; }
@Test public void testListNames() { Assert.assertTrue(Arrays.equals(UsersListProvider.NAMES, usersListProvider.getListNames())); }