@Test public void testLoad() { CliProperties properties = new CliProperties(); properties.load(); assertTrue(properties.containsKey("version.prodigy.cli")); assertTrue(properties.containsKey("dependency.prodigy.core")); assertTrue(properties.containsKey("dependency.prodigy.faults")); }
public void load() { try (InputStream stream = CliProperties.class.getResourceAsStream("/cli.properties")) { load(stream); } catch (IOException e) { log.warn("Unable to load Prodigy CLI properties", e); } }
CliProperties extends Properties { public void load() { try (InputStream stream = CliProperties.class.getResourceAsStream("/cli.properties")) { load(stream); } catch (IOException e) { log.warn("Unable to load Prodigy CLI properties", e); } } }
CliProperties extends Properties { public void load() { try (InputStream stream = CliProperties.class.getResourceAsStream("/cli.properties")) { load(stream); } catch (IOException e) { log.warn("Unable to load Prodigy CLI properties", e); } }  }
CliProperties extends Properties { public void load() { try (InputStream stream = CliProperties.class.getResourceAsStream("/cli.properties")) { load(stream); } catch (IOException e) { log.warn("Unable to load Prodigy CLI properties", e); } }  void load(); String version(String key); String dependency(String key); }
CliProperties extends Properties { public void load() { try (InputStream stream = CliProperties.class.getResourceAsStream("/cli.properties")) { load(stream); } catch (IOException e) { log.warn("Unable to load Prodigy CLI properties", e); } }  void load(); String version(String key); String dependency(String key);  }