@Test
public void testFocusListenerOnPicker() {

    JXDatePicker picker = new JXDatePicker();
    assertEquals(1, picker.getFocusListeners().length);
    picker.getUI().uninstallUI(picker);
    assertEquals(0, picker.getFocusListeners().length);
}