Skip to content

Instantly share code, notes, and snippets.

View deanmalone's full-sized avatar

Dean Malone deanmalone

View GitHub Profile
@netoisc
netoisc / ESClient_Test.cs
Created June 26, 2017 16:10
How to test ElasticClient with Moq and .net
[Test]
public async Task ElasticClient_Test()
{
var people = new List<Person>
{
new Person { Id = 1 },
new Person { Id = 2 },
};
var hits = new List<IHit<Person>>