@Test
public void testCreateDeleteSnapshotRequest() {

	DeleteSnapshotRequest deleteSnapshotRequest = new DeleteSnapshotRequest(
		"repository", "snapshot");
	DeleteSnapshotRequestExecutorImpl deleteSnapshotRequestExecutorImpl =
		new DeleteSnapshotRequestExecutorImpl() {
			{
				setElasticsearchClientResolver(_elasticsearchFixture);
			}
		};
	org.elasticsearch.action.admin.cluster.snapshots.delete.
		DeleteSnapshotRequest elasticDeleteSnapshotRequest =
			deleteSnapshotRequestExecutorImpl.createDeleteSnapshotRequest(
				deleteSnapshotRequest);
	Assert.assertEquals(
		deleteSnapshotRequest.getRepositoryName(),
		elasticDeleteSnapshotRequest.repository());
	Assert.assertEquals(
		deleteSnapshotRequest.getSnapshotName(),
		elasticDeleteSnapshotRequest.snapshots()[0]);
}