@Test
public void testCalculatePathMatchScore() {

    List<Integer> score = HttpUtils.calculatePathMatchScore("/cats/{id}");
    Match.equals(score, "[6,1,0]");
    score = HttpUtils.calculatePathMatchScore("/cats/1");
    Match.equals(score, "[7,0,0]");
    score = HttpUtils.calculatePathMatchScore("/cats/1/");
    Match.equals(score, "[7,0,0]");
    score = HttpUtils.calculatePathMatchScore("cats/1/");
    Match.equals(score, "[7,0,0]");
}