ClusterRoutingTable implements RoutingTable { @Override public boolean preferInitialRouter() { return preferInitialRouter; } ClusterRoutingTable( DatabaseName ofDatabase, Clock clock, BoltServerAddress... routingAddresses ); private  ClusterRoutingTable( DatabaseName ofDatabase, Clock clock ); @Override boolean isStaleFor( AccessMode mode ); @Override boolean hasBeenStaleFor( long extraTime ); @Override synchronized void update( ClusterComposition cluster ); @Override synchronized void forget( BoltServerAddress address ); @Override AddressSet readers(); @Override AddressSet writers(); @Override AddressSet routers(); @Override Set<BoltServerAddress> servers(); @Override DatabaseName database(); @Override void forgetWriter( BoltServerAddress toRemove ); @Override boolean preferInitialRouter(); @Override synchronized String toString();  }
@Test void shouldDefaultToPreferInitialRouter() throws Throwable { ClusterRoutingTable routingTable = newRoutingTable(); assertTrue( routingTable.preferInitialRouter() ); }