Getting port 9200 open for integration tests?

What's the best way to embed elastic search in my tests.

I want integration tests for HTTP and want to do PUT/GET directly.

I looked at ElasticsearchIntegrationTest but it only seems to use node or
transport client directly.

Is there a way to get it to expose a port? or maybe the port is just
hidden from me...

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3079c312-61ff-4d2a-84da-16c94cc8c7df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.