StringToNoneShardingStrategyConfigurationConverter implements Converter<String, YamlNoneShardingStrategyConfiguration> { @Override public YamlNoneShardingStrategyConfiguration convert(final String value) { return new YamlNoneShardingStrategyConfiguration(); }  @Override YamlNoneShardingStrategyConfiguration convert(final String value);  }
@Test public void assertConvert() { Object actual = new StringToNoneShardingStrategyConfigurationConverter().convert("anyString"); assertThat(actual, instanceOf(YamlNoneShardingStrategyConfiguration.class)); }