public void router() throws Exception {
final String startsWith = "startsWith:/hello-world";
final String endsWith = "endsWith:/the-very-end";
final String equals = "equals:/perfect-match";
LinkedHashMap<String, ChannelHandler> routes = new LinkedHashMap<String, ChannelHandler>();
routes.put(startsWith, new SimpleResponseHandler(startsWith));
routes.put(endsWith, new SimpleResponseHandler(endsWith));
routes.put(equals, new SimpleResponseHandler(equals));
startServer(new ChunkedWriteHandler(), new RouterHandler(routes));
assertEquals(startsWith, get("/hello-world/not-used"));
assertEquals(endsWith, get("/blah-blah/blah/the-very-end"));