@Test(expected = IllegalArgumentException.class) public void addsAPrefixToMethodsWhenTheControllerHasMoreThanOneAnnotatedPath() throws Exception { parser.rulesFor(new DefaultResourceClass(MoreThanOnePathAnnotatedController.class)); }
public List<Route> rulesFor(ResourceClass resource) { Class<?> baseType = resource.getType(); return registerRulesFor(baseType); }
PathAnnotationRoutesParser implements RoutesParser { public List<Route> rulesFor(ResourceClass resource) { Class<?> baseType = resource.getType(); return registerRulesFor(baseType); } }
PathAnnotationRoutesParser implements RoutesParser { public List<Route> rulesFor(ResourceClass resource) { Class<?> baseType = resource.getType(); return registerRulesFor(baseType); } PathAnnotationRoutesParser(Router router); }
PathAnnotationRoutesParser implements RoutesParser { public List<Route> rulesFor(ResourceClass resource) { Class<?> baseType = resource.getType(); return registerRulesFor(baseType); } PathAnnotationRoutesParser(Router router); List<Route> rulesFor(ResourceClass resource); }
PathAnnotationRoutesParser implements RoutesParser { public List<Route> rulesFor(ResourceClass resource) { Class<?> baseType = resource.getType(); return registerRulesFor(baseType); } PathAnnotationRoutesParser(Router router); List<Route> rulesFor(ResourceClass resource);  }