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

        try {
            createDefaultMock(visitorParameters, table);
            fail("No exception thrown on zero storage clusters");
        } catch (IllegalArgumentException e) {
            assertEquals("No storage cluster found in your application.",
                         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