@Test
public void testQuarterFilter() {

    displayerCoordinator.drawAll();
    // Click on the "Q4" slice
    reset(listener);
    quarterPieChart.filterUpdate(COLUMN_DATE, 0);
    // Check the allRowsTable receives the filter request
    DataSet dataSet = allRowsTable.getDataSetHandler().getLastDataSet();
    assertEquals(dataSet.getRowCount(), 10);
    for (int i = 0; i < dataSet.getRowCount(); i++) {
        Date d = (Date) dataSet.getValueAt(i, COLUMN_DATE);
        assertTrue(d.getMonth() > 8);
    }
    verify(listener).onDataLookup(allRowsTable);
    verify(listener).onRedraw(allRowsTable);
}