ConfigLoader { public static URL locateConfig(final String path) { URL url = asFile(path); if (url == null) { url = asURL(path); } if (url == null) { url = asResource(path); } return url; }  static Properties loadProperties(); static Properties loadProperties(final String path); static URL locateConfig(final String path); static final String CACHE_BUILDER_SPEC; }
@Test public void locateTest() { URL url = ConfigLoader.locateConfig("humanize.properties"); Assert.assertNotNull(url); Assert.assertTrue(url.toExternalForm().endsWith("humanize.properties")); }