Package org.elasticsearch.test.rest
Infrastructure for testing REST. See
ESRestTestCase
for running tests against an Elasticsearch cluster using the REST tests and
the rest of the package for mocking utilities.-
Class Summary Class Description ESRestTestCase Superclass for tests that interact with an external test cluster using Elasticsearch'sRestClient
.ESRestTestCase.VersionSensitiveWarningsHandler Helper class to check warnings in REST responses with sensitivity to versions used in the target cluster.FakeRestChannel FakeRestRequest FakeRestRequest.Builder RestActionTestCase A common base class for Rest*ActionTests.RestActionTestCase.VerifyingClient A mockedNodeClient
which can be easily reconfigured to verify arbitrary verification functions, and can be reset to allow reconfiguration partway through a test without having to construct a new object.