assertEquals("StringRet index worked", request("/aa/"));
assertEquals("StringRet finder worked a='hello' b=''", request("/aa/hello"));
}
public void testTerminalAndNonTerminalReplace() throws IOException {
server.addAlias(new TerminalAlias("/blue", "/index"));
server.addAlias(new NonTerminalAlias("/([^\\/]*)/(.*)", "/$2"));
server.addAlias(new NonTerminalAlias("/", "/ugh"));
server.addAlias(new NonTerminalAlias("/index", "/ugh"));
assertEquals("StringRet ugh worked", request("/"));
assertEquals("StringRet ugh worked", request("/index"));