@Test
void validate() {

    new PathPatternValidator("/robot.txt", true).validate();
    new PathPatternValidator("/images", true).validate();
    new PathPatternValidator("/path-with-trailing-slash/", true).validate();
    new PathPatternValidator("/user/:id/name", true).validate();
    new PathPatternValidator("/v2/user/:id", true).validate();
    new PathPatternValidator("/ajax/:path(*)", true).validate();
}