ctx.put("entry", "e");
assertEquals("/c/e", route.expand(ctx));
assertFalse(route.match("/foo"));
assertTrue(route.match("/foo/test"));
assertFalse(route.match("foo"));
assertFalse(route.match("/foo/test/bar"));
Map<String, String> vars = route.parse("/1/2");
assertEquals("1", vars.get("collection"));
assertEquals("2", vars.get("entry"));