@Test
public void testCreateGetSnapshotsRequest() {

	GetSnapshotsRequest getSnapshotsRequest = new GetSnapshotsRequest(
		"repository1");
	getSnapshotsRequest.setIgnoreUnavailable(true);
	getSnapshotsRequest.setSnapshotNames("snapshot1", "snapshot2");
	getSnapshotsRequest.setVerbose(true);
	GetSnapshotsRequestExecutorImpl getSnapshotsRequestExecutorImpl =
		new GetSnapshotsRequestExecutorImpl() {
			{
				setElasticsearchClientResolver(_elasticsearchFixture);
			}
		};
	org.elasticsearch.action.admin.cluster.snapshots.get.GetSnapshotsRequest
		elasticsearchGetSnapshotsRequest =
			getSnapshotsRequestExecutorImpl.createGetSnapshotsRequest(
				getSnapshotsRequest);
	Assert.assertEquals(
		getSnapshotsRequest.isIgnoreUnavailable(),
		elasticsearchGetSnapshotsRequest.ignoreUnavailable());
	Assert.assertEquals(
		getSnapshotsRequest.getRepositoryName(),
		elasticsearchGetSnapshotsRequest.repository());
	Assert.assertArrayEquals(
		getSnapshotsRequest.getSnapshotNames(),
		elasticsearchGetSnapshotsRequest.snapshots());
	Assert.assertEquals(
		getSnapshotsRequest.isVerbose(),
		elasticsearchGetSnapshotsRequest.verbose());
}