Projector { public abstract NeoRxClient getNeoRxClient();  abstract NeoRxClient getNeoRxClient(); abstract T createBuilder(Class<T> clazz);  }
@Test public void testBuilderCannotConnect() { try { Projector p = new Projector.Builder().withUrl("bolt: p.getNeoRxClient().execCypher("match (a) return a limit 10").blockingForEach(it -> { System.out.println(it); }); Assertions.failBecauseExceptionWasNotThrown(NeoRxException.class); } catch (RuntimeException e) { } }