title: Unit test involving Elasticsearch in java
body: <p>I'm using Spring Boot with <code>elasticsearch-rest-high-level-client</code> and I am currently writing unit tests.  </p>
  
  <p>My program is just a simplified REST API to call ES, thus my unit tests need either a mock of the ES database or a running ES instance and so far I haven't been able to do any these.  </p>