assertTrue(params.isEmpty());
}
@Test
public void pathParameterElements_OneExistsWithAction() {
MojaveRoute r = new MojaveRoute(null, "actn", ":id");
List<NamedParameterElement> params = r.getNamedParameterElements();
assertEquals(1, params.size());
NamedParameterElement elem = params.get(0);
assertEquals("id", elem.name());
assertEquals(1, elem.index());
}