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

    LOG.info("testLoadNonExistingUrl");
    final Properties props = new Properties();
    try {
        GuiceUtils.loadUrl(props, "bla:non/existing/protocol");
        Assert.fail("Did not expect to find this");
    } catch (final MalformedURLException e) {
        // Expected exception.
    }
}