public static String toString(final Host bookmark) {
        return toString(bookmark, false);
    }
@Test
    public void testToStringDefaultHostname() {
        final TestProtocol protocol = new TestProtocol(Scheme.file) {
            @Override
            public String getName() {
                return "P";
            }

            @Override
            public String getDefaultHostname() {
                return "default";
            }
        };
        assertEquals("default \u2013 P", BookmarkNameProvider.toString(new Host(protocol, StringUtils.EMPTY), true));
        assertEquals("default \u2013 P", BookmarkNameProvider.toString(new Host(protocol, StringUtils.EMPTY), false));
    }