@Test
public void testUpdateUIFirstYear() {

    final JXMonthView monthView = new JXMonthView();
    long first = ((BasicMonthViewUI) monthView.getUI()).getFirstDisplayedYear();
    monthView.updateUI();
    assertEquals(first, ((BasicMonthViewUI) monthView.getUI()).getFirstDisplayedYear());
}