

package org.camunda.bpm.elasticsearch.query;

import org.camunda.bpm.elasticsearch.AbstractElasticSearchTest;
import org.camunda.bpm.elasticsearch.ProcessDataContainer;
import org.camunda.bpm.elasticsearch.TestDataGenerator;
import org.camunda.bpm.engine.test.ProcessEngineRule;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;

import java.util.HashMap;

public class HistoryEventsQueryTest extends AbstractElasticSearchTest {

  @Ignore
  @Test
  public void queryShouldFindProcessInstanceViaVariableValue() {
    HashMap<String,ProcessDataContainer> stringProcessDataContainerHashMap = TestDataGenerator.startInvoiceProcess(processEngineRule.getProcessEngine(), 10);

//    flushAndRefresh();

//    QueryBuilders.boolQuery().must(QueryBuilders.nestedQuery(""))
//    SearchRequestBuilder srb = client.prepareSearch().setQuery();
  }

}
