@Test
public void testCalendarsLocaleContructor() {

    Locale locale = Locale.UK;
    if (locale.equals(JComponent.getDefaultLocale())) {
        locale = Locale.FRENCH;
    }
    JXMonthView monthView = new JXMonthView(locale);
    assertEquals("initial locale in constructor must be passed to model", 
            locale, monthView.getSelectionModel().getLocale());
}