RoutingContext { public boolean isServerRoutingEnabled() { return isServerRoutingEnabled; } private  RoutingContext();  RoutingContext( URI uri ); boolean isDefined(); Map<String,String> toMap(); boolean isServerRoutingEnabled(); @Override String toString(); static final RoutingContext EMPTY; }
@Test void boltUriDisablesServerSideRouting() { URI uri = URI.create( "bolt: RoutingContext context = new RoutingContext( uri ); assertEquals( false, context.isServerRoutingEnabled() ); }
@Test void neo4jUriEnablesServerSideRouting() { URI uri = URI.create( "neo4j: RoutingContext context = new RoutingContext( uri ); assertEquals( true, context.isServerRoutingEnabled() ); }