@Test
public void multipleWhereWithSingleTwoValuesAndManualConjunctionAndManualWhereInSliceTest()
    throws QueryBuilderException {

  // GIVEN
  UiAnalysis analysis = createAnalysis("select a, count() where d = 1 group by a order by a asc", "c=5", Arrays
      .asList(new UiSliceDisjunction("a", Arrays.asList("5", "6")), new UiSliceDisjunction("b", Arrays.asList("3"))));
  // WHEN
  String queryBuilderDiql = generateQueryBuilder(analysis).build();
  ExecutionRequest queryBuilderRequest = parse(queryBuilderDiql);
  // THEN
  String expectedDiql = "select a, count() from " + TABLE
      + " where d=1 and ((a = 5 or a = 6) and b = 3 and c=5) 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 + "'");
}