@Test
public void testConversion() {

  LoggerContext context = new LoggerContext();
  ConfigListConverter configValueConverter = new ConfigListConverter();
  Config config = ConfigFactory.parseString("some.property.name=[one,two,three]");
  context.putObject(TYPESAFE_CONFIG_CTX_KEY, config);
  configValueConverter.setContext(context);
  configValueConverter.setOptionList(Arrays.asList("some.property.name", "1"));
  configValueConverter.start();
  String actual = configValueConverter.convert(null);
  assertThat(actual).isEqualTo("two");
}