Using Elasticsearch in intergration test

I want elasticsearch in memorydb for Integration test in .net platform.
same as other db in memorydb.

What do you mean by memorydb?

InMemoryconnection for mock data in integration test , but it is not working