@Override
    public String getHostname(final String alias) {
        if(StringUtils.isBlank(alias)) {
            return alias;
        }
        final String hostname = configuration.lookup(alias).getHostName();
        if(StringUtils.isBlank(hostname)) {
            return alias;
        }
        if(log.isInfoEnabled()) {
            log.info(String.format("Determined hostname %s from alias %s from %s", hostname, alias, configuration));
        }
        return hostname;
    }
@Test
    public void testLookup() {
        OpenSSHHostnameConfigurator c = new OpenSSHHostnameConfigurator(
                new OpenSshConfig(
                        new Local("src/test/resources", "openssh/config")));
        assertEquals("cyberduck.ch", c.getHostname("alias"));
    }