@Test
void conflictDynamicPathPattern() {

    root.register("/path1/:var1/path2");
    assertThatThrownBy(() -> root.register("/path1/:var2/path3"))
            .isInstanceOf(Error.class)
            .hasMessageContaining("param=var2, conflictedParam=var1");
}