  @Test
  public void testBuilInsertSuccess() {

    mockRulesForBulk(false);
    List<Map<String, Object>> list = new ArrayList<>();
    Map<String, Object> map = new HashMap<>();
    map.put(JsonKey.IDENTIFIER, "0001");
    list.add(map);
    Future<Boolean> result = esService.bulkInsert("test", list, null);
    boolean res = (boolean) ElasticSearchHelper.getResponseFromFuture(result);
    assertEquals(true, res);
  }