@Test
public void testFirstMonthLocation() {

    if (GraphicsEnvironment.isHeadless()) {
        LOG.fine("cannot run test - headless environment");
        return;
    }
    BasicMonthViewUI ui = getRealizedMonthViewUI(ComponentOrientation.LEFT_TO_RIGHT);
    Rectangle monthBounds = ui.getMonthBoundsAtLocation(20, 20);
    assertEquals(monthBounds.getLocation(), ui.calendarGrid.getLocation());
    assertNull("no hit - bounds must be null", ui.getMonthBoundsAtLocation(19, 20));
}