@Test
public void multipleWhereWithTwoValuesInSliceTest() throws QueryBuilderException {

  // GIVEN
  UiAnalysis analysis = createAnalysis("select a, count() group by a order by a asc", null, Arrays.asList(
      new UiSliceDisjunction("a", Arrays.asList("5", "6")), new UiSliceDisjunction("b", Arrays.asList("3", "4"))));
  // WHEN
  String queryBuilderDiql = generateQueryBuilder(analysis).build();
  ExecutionRequest queryBuilderRequest = parse(queryBuilderDiql);
  // THEN
  String expectedDiql =
      "select a, count() from " + TABLE + " where (a = 5 or a = 6) and (b = 3 or b = 4) group by a order by a asc";
  ExecutionRequest expectedRequest = parse(expectedDiql);
  Assert.assertEquals(queryBuilderRequest, expectedRequest,
      "Built query found to be not equal to the genrated one. Expected: '" + expectedDiql + "' but was '"
          + queryBuilderDiql + "'");
}