com.github.joschi.nosqlunit.elasticsearch.http.ElasticsearchAssertion Maven / Gradle / Ivy
package com.github.joschi.nosqlunit.elasticsearch.http;
import com.github.joschi.nosqlunit.elasticsearch.http.parser.DataReader;
import com.google.gson.Gson;
import com.lordofthejars.nosqlunit.core.FailureHandler;
import com.lordofthejars.nosqlunit.util.DeepEquals;
import io.searchbox.client.JestClient;
import io.searchbox.core.Count;
import io.searchbox.core.CountResult;
import io.searchbox.core.DocumentResult;
import io.searchbox.core.Get;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class ElasticsearchAssertion {
private static final Gson GSON = new Gson();
private ElasticsearchAssertion() {
super();
}
@SuppressWarnings("unchecked")
public static void strictAssertEquals(List