    @Test
    public void writesStringParam() {

        new StringRouteImpl().parse();

        SavingConsumer consumer = new SavingConsumer();
        StringRoute route = Routing.build(StringRoute.class, consumer);

        route.path("baz");
        assertEquals("foo/baz/bar", consumer.consumed);

        route.nondeterminatePath("bazz");
        assertEquals("foo/bazzz", consumer.consumed);

        route.path("/");
        assertEquals("foo/%2F/bar", consumer.consumed);
    }