@Override
    public NodeConnection createConnection(String hostname, int port) {
        return new MockNodeConnection(hostname, port);
    }
Set to true to cause this to produce an error instead of a regular response
container-search/src/test/java/com/yahoo/search/dispatch/rpc/MockClient.java