@Test
public void pathParameterElements_OneExistsWithRegexWithSlashWithControllerAndAction() {
MojaveRoute r = new MojaveRoute("cntrl", "actn", ":id<[^/]+>/:name<[a-z]+>");
List<NamedParameterElement> params = r.getNamedParameterElements();
assertEquals(2, params.size());
NamedParameterElement elem = params.get(0);
assertEquals("id", elem.name());
assertEquals(2, elem.index());
elem = params.get(1);
assertEquals("name", elem.name());
assertEquals(3, elem.index());
}