AnnotatedSettingsDescriptor implements SettingsDescriptor { @Override public Set<String> getMultiValuedKeys() { return _multiValuedKeys; } AnnotatedSettingsDescriptor(Class<?> settingsClass); @Override Set<String> getAllKeys(); @Override Set<String> getMultiValuedKeys();  }
@Test public void testGetMultiValuedKeys() { Set<String> multiValuedKeys = _annotatedSettingsDescriptor.getMultiValuedKeys(); Collection<String> expectedMultiValuedKeys = Arrays.asList( "stringArray1", "stringArray2"); Assert.assertEquals( multiValuedKeys.toString(), expectedMultiValuedKeys.size(), multiValuedKeys.size()); Assert.assertTrue(multiValuedKeys.containsAll(expectedMultiValuedKeys)); }