public void testSimpleRoute() throws Exception {
Route route = new Route("feed", "/:collection");
HashMapContext ctx = new HashMapContext();
ctx.put("collection", "test");
assertEquals("/test", route.expand(ctx));
assertTrue(route.match("/foo"));
assertFalse(route.match("/foo/test"));
assertFalse(route.match("foo"));