@Test
public void testFilterReset() {

    displayerCoordinator.drawAll();
    // Click on a slice
    deptPieChart.filterUpdate(COLUMN_DEPARTMENT, 0);
    List<Interval> deptIntervalList = deptPieChart.filterIntervals(COLUMN_DEPARTMENT);
    assertEquals(deptIntervalList.size(), 1);
    Interval deptInterval = deptIntervalList.get(0);
    // Click on a selector entry different from the slice selected above
    deptSelector.filterUpdate(COLUMN_DEPARTMENT, 1);
    // Check the pie chart receives the selector filter request
    DataSet dataSet = deptPieChart.getDataSetHandler().getLastDataSet();
    assertEquals(dataSet.getRowCount(), 1);
    assertEquals(deptPieChart.filterIndexes(COLUMN_DEPARTMENT).size(), 1);
    // Reset the pie chart filter
    deptPieChart.filterUpdate(COLUMN_DEPARTMENT, deptInterval.getIndex());
    deptIntervalList = deptPieChart.filterIntervals(COLUMN_DEPARTMENT);
    assertEquals(deptIntervalList.size(), 0);
}