public void testMacrosDups() {
WebApplication webapp = new WebApplication(true);
webapp.registerMadvocComponents();
ActionsManager actionsManager = webapp.getComponent(ActionsManager.class);
MadvocConfig madvocConfig = webapp.getComponent(MadvocConfig.class);
madvocConfig.getRootPackages().addRootPackageOf(this.getClass());
madvocConfig.setPathMacroClass(RegExpPathMacros.class);
actionsManager.register(ReAction.class, "duplo1");
actionsManager.register(ReAction.class, "duplo2");
ActionConfig cfg = actionsManager.lookup("/re/duplo/123", "GET");