private static void testNonDuplicateRoutes(Route... routes) {
        Routers.routers(ImmutableList.copyOf(routes), null, null, Function.identity(), REJECT, false);
    }
Should detect the duplicates even if the mappings are split into more than one router.
core/src/test/java/com/linecorp/armeria/server/RouterTest.java