@Test
public void testParamSegment() throws Exception
{
String segmentWithRegEx = "{id:[0-9]*:abba}";
AbstractURLSegment segment = AbstractURLSegment.newSegment(segmentWithRegEx);
assertTrue(segment instanceof ParamSegment);
ParamSegment paramSegment = (ParamSegment)segment;