@Test
    public void testRoutingTableHasMultipleStorageClusters() {
        VisitorParameters visitorParameters = createVisitorParameters("");
        visitorParameters.setRoute(new Route());
        RoutingTableSpec spec = new RoutingTableSpec(DocumentProtocol.NAME);
        spec.addRoute(new RouteSpec("storage/cluster.foo"));
        spec.addRoute(new RouteSpec("storage/cluster.bar"));
        RoutingTable table = new RoutingTable(spec);

        try {
            createDefaultMock(visitorParameters, table);
            fail("No exception thrown on multiple storage clusters");
        } catch (IllegalArgumentException e) {
            assertEquals("There are multiple storage clusters in your application, " +
                         "please specify which one to visit.",
                         e.getMessage());
        }
    }
Test that we don't try to override a valid route in the parameters.
documentapi/src/test/java/com/yahoo/documentapi/messagebus/MessageBusVisitorSessionTestCase.java