static void parseAbsolute(final StringReader reader, final Host host, final Consumer<HostParserException> decorator) {
        parsePath(reader, host, true, decorator);
    }
@Test
    public void testParseAbsolute() {
        final Host host = new Host(new TestProtocol());
        final String path = "/path/sub/directory";
        final HostParser.StringReader reader = new HostParser.StringReader(path);

        HostParser.parseAbsolute(reader, host, null);
        assertEquals(path, host.getDefaultPath());
    }