@Test
public void testLoadClasspathUrl() throws IOException, NamingException {

    LOG.info("testLoadClasspathUrl");
    final Properties props = new Properties();
    try {
        GuiceUtils.loadUrl(props, "classpath:non-existing-test-config.properties");
        Assert.fail("Did not expect this");
    } catch (final IOException e) {
        // Expected exception.
    }
    GuiceUtils.loadUrl(props, "classpath:" + PROPERTY_FILE_SIMPLE);
    Assert.assertEquals(3, props.size());
}