@Test public void testGetMessageKeyString() throws FileNotFoundException, JumbuneException { InputStream inputStream = new ByteArrayInputStream(CommonConstantsTest.CONTACTYAMLFILE.getBytes()); mloader = new MessageLoader(inputStream); String value = mloader.get(CommonConstantsTest.MESSAGELOADER_KEYS_TRING); assertTrue("Nathan Sweet".equals(value)); }
public String get(String key) { return prop.getProperty(key); }
MessageLoader { public String get(String key) { return prop.getProperty(key); } }
MessageLoader { public String get(String key) { return prop.getProperty(key); } MessageLoader(InputStream inputStream); }
MessageLoader { public String get(String key) { return prop.getProperty(key); } MessageLoader(InputStream inputStream); static MessageLoader getInstance(); String get(String key); String get(int key); InputStream getIS(); }
MessageLoader { public String get(String key) { return prop.getProperty(key); } MessageLoader(InputStream inputStream); static MessageLoader getInstance(); String get(String key); String get(int key); InputStream getIS();  }