@Test
ublic void testDateEditorFireCancel() {

    DatePickerCellEditor editor = new DatePickerCellEditor();
    CellEditorReport report = new CellEditorReport();
    editor.addCellEditorListener(report);
    editor.getTableCellEditorComponent(null, null, false, -1, -1);
    editor.cancelCellEditing();
    assertEquals(1, report.getEventCount());
    assertEquals(1, report.getCanceledEventCount());
}