@Test
public void test_single_and_multi_path_arg() {
MappingNode<String> root = new MappingNode<String>();
root.add("/a/?/c/*", "A");
ActionContext ac = new ActionContext();
assertEquals("A", root.get(ac, "/a/b/c"));
assertEquals(1, ac.getPathArgs().size());
assertEquals("b", ac.getPathArgs().get(0));
assertEquals("A", root.get(ac, "/a/b/c/d"));
assertEquals(2, ac.getPathArgs().size());
assertEquals("b", ac.getPathArgs().get(0));
assertEquals("d", ac.getPathArgs().get(1));
assertEquals("A", root.get(ac, "/a/b/c/d/e"));
assertEquals(3, ac.getPathArgs().size());
assertEquals("b", ac.getPathArgs().get(0));
assertEquals("d", ac.getPathArgs().get(1));
assertEquals("e", ac.getPathArgs().get(2));
}