with ES 2.x we have made extensive use of an embedded node with local transport for unit and integration tests (not using the ESIntegTestCase but our own). With something like
masterNode = nodeBuilder().local(local).settings(settings.build()).node();
With the new ES 5.1.1 Java API, I was not immediately able to implement something similar. And also didn't find any reference to the local transport.
Does this feature still exist or should I use a regular Node with a TransportClient in my tests?