ContributorsListProvider implements ResourceListProvider { @Override public String[] getListNames() { return NAMES; }  void setUserDirectoryService(UserDirectoryService userDirectoryService); void setIndex(AbstractSearchIndex index); @Override String[] getListNames(); @Override Map<String, String> getList(String listName, ResourceListQuery query); @Override boolean isTranslatable(String listName); @Override String getDefault(); static final String DEFAULT; static final String NAMES_TO_USERNAMES; static final String USERNAMES; }
@Test public void testListNames() { Assert.assertTrue(Arrays.equals(ContributorsListProvider.NAMES, contributorsListProvider.getListNames())); }