@Test
public void testCountDistinctWithFilterOnSameField() throws FoxtrotException {

    CountRequest countRequest = new CountRequest();
    countRequest.setTable(TestUtils.TEST_TABLE_NAME);
    countRequest.setField("os");
    ArrayList<Filter> filters = new ArrayList<Filter>();
    filters.add(new EqualsFilter("os", "android"));
    countRequest.setFilters(filters);
    countRequest.setDistinct(true);
    CountResponse countResponse = CountResponse.class.cast(getQueryExecutor().execute(countRequest));
    assertNotNull(countResponse);
    assertEquals(1, countResponse.getCount());
}