Using InMemoryConnection to test ElasticSearch

Ah! If I create the elastic client using

var c = new ElasticClient(connectionSettings, new InMemoryConnection(connectionSettings));

the query is now successful but doesn't find the document I just indexed...