### Question:
FilterBuilderCreator { public FilterBuilder createFilterBuilder(Collection<Filter> filters) throws UnsupportedException, ExecutionException { BoolFilterBuilder boolFilterBuilder = FilterBuilders.boolFilter(); for (Filter filter : filters) { boolFilterBuilder.must(handleCompareFilter(filter)); } return boolFilterBuilder; }  FilterBuilder createFilterBuilder(Collection<Filter> filters); FilterBuilder createFilterBuilderForDisjunctions(Collection<Disjunction> disjunctions);  }### Answer:
@Test() public void testCreateFilterBuilderFail() throws UnsupportedException, ExecutionException { Selector from = new IntegerSelector (1); Selector to = new IntegerSelector (10); Selector left = new ColumnSelector(new ColumnName(new TableName("catalog", "table"), "column")); GroupSelector selector = new GroupSelector(new TableName("catalog", "table"),from, to); Relation relations = new Relation(left, Operator.BETWEEN, selector); Filter filter = new Filter(new HashSet<>(Arrays.asList(Operations.FILTER_FUNCTION_EQ)), relations); FilterBuilder result = filterBuilderCreator.createFilterBuilder(Arrays.asList(filter)); String expected = "{\"bool\":{\"must\":{\"range\":{\"column\":{\"from\":1,\"to\":10,\"include_lower\":true,\"include_upper\":true}}}}}"; Assert.assertEquals(expected, result.toString().replace(" ", "").replace("\n", "")); }