@Test
public void testResolveBacktrack() {

  PathTrie<Integer> trie = PathTrie.<Integer>builder()
      .add(HttpMethod.GET, "{one}/{two}/three/{four}", 1234)
      .add(HttpMethod.GET, "one/two/{three}/four", 4321)
      .build();
  assertSuccessfulGetResolution(trie, "one/two/three/five", 1234,
      ImmutableMap.of("one", "one", "two", "two", "four", "five"));
  assertSuccessfulGetResolution(
      trie, "one/two/three/four", 4321, ImmutableMap.of("three", "three"));
}