@Test void testHelidonParsable() { ParsableImpl helidonSource = new ParsableImpl(); org.eclipse.microprofile.config.spi.ConfigSource mpSource = MpConfigSources.create(helidonSource); assertThat(mpSource.getValue(ParsableImpl.KEY + ".notThere"), nullValue()); assertThat(mpSource.getValue(ParsableImpl.KEY), is(ParsableImpl.VALUE)); assertThat(mpSource.getName(), is(ParsableImpl.DESCRIPTION)); assertThat("init called exactly once", helidonSource.inits.get(), is(1)); assertThat("exists called exactly once", helidonSource.exists.get(), is(1)); }
public static ConfigSource create(String name, Map<String, String> theMap) { return new MpMapSource(name, theMap); }
MpConfigSources { public static ConfigSource create(String name, Map<String, String> theMap) { return new MpMapSource(name, theMap); } }
MpConfigSources { public static ConfigSource create(String name, Map<String, String> theMap) { return new MpMapSource(name, theMap); } private  MpConfigSources(); }
MpConfigSources { public static ConfigSource create(String name, Map<String, String> theMap) { return new MpMapSource(name, theMap); } private  MpConfigSources(); static ConfigSource create(String name, Map<String, String> theMap); static ConfigSource create(Map<String, String> theMap); static ConfigSource create(Path path); static ConfigSource create(URL url); static ConfigSource create(String name, Path path); static ConfigSource create(Properties properties); static ConfigSource create(String name, Properties properties); static ConfigSource environmentVariables(); static ConfigSource systemProperties(); static List<ConfigSource> classPath(String resource); static List<ConfigSource> classPath(ClassLoader classLoader, String resource); static ConfigSource create(io.helidon.config.spi.ConfigSource helidonConfigSource); static ConfigSource create(Config config); }
MpConfigSources { public static ConfigSource create(String name, Map<String, String> theMap) { return new MpMapSource(name, theMap); } private  MpConfigSources(); static ConfigSource create(String name, Map<String, String> theMap); static ConfigSource create(Map<String, String> theMap); static ConfigSource create(Path path); static ConfigSource create(URL url); static ConfigSource create(String name, Path path); static ConfigSource create(Properties properties); static ConfigSource create(String name, Properties properties); static ConfigSource environmentVariables(); static ConfigSource systemProperties(); static List<ConfigSource> classPath(String resource); static List<ConfigSource> classPath(ClassLoader classLoader, String resource); static ConfigSource create(io.helidon.config.spi.ConfigSource helidonConfigSource); static ConfigSource create(Config config);  }