assertEquals(paramSegment.getParamName(), "id");
assertEquals(paramSegment.getMetaPattern().toString(), "[0-9]*:abba");
MetaPattern metaPattern = paramSegment.getMetaPattern();
assertTrue(metaPattern.matcher("1:abba").matches());
assertTrue(metaPattern.matcher("1234521:abba").matches());
assertTrue(metaPattern.matcher(":abba").matches());
String segmentMultiParam = "{segment0}asegment{segment1:^\\(?\\d{3}\\)?[ -]?\\d{3}[ -]?\\d{4}$}anotherseg";
segment = AbstractURLSegment.newSegment(segmentMultiParam);