Using InMemoryConnection to test ElasticSearch

Updating to 2.3.3 and new syntax

        [Test]
        public void CanBeQueried()
        {

            var connectionPool = new SingleNodeConnectionPool(new Uri("http://localhost:9200"));
            var settings = new ConnectionSettings(connectionPool, new InMemoryConnection());
            settings.DefaultIndex("default");

            var c = new ElasticClient(settings);
            
            c.Index(new TestThing("peter rabbit"));

            var result = c.Search<TestThing>(sd => sd);
            
            result.CallDetails.Success.Should().BeTrue();
            result.Documents.Single().Stuff.Should().Be("peter rabbit");
        }

fails in the same way... i.e. the query is reported as successful but returns 0 documents