@Test
public void invalidParameterName() {

  try {
    PathTrie.<Integer>builder().add(HttpMethod.GET, "bad/{[test}", 1234);
    fail("expected IllegalArgumentException");
  } catch (IllegalArgumentException e) {
    // expected
  }
}