private static void assertCell( List<List<MonthCellDescriptor>> cells, int row, int col, int expectedVal, boolean expectedCurrentMonth, boolean expectedSelected, boolean expectedToday, boolean expectedSelectable, MonthCellDescriptor.RangeState expectedRangeState) { final MonthCellDescriptor cell = cells.get(row).get(col); assertThat(cell.getValue()).isEqualTo(expectedVal); assertThat(cell.isCurrentMonth()).isEqualTo(expectedCurrentMonth); assertThat(cell.isSelected()).isEqualTo(expectedSelected); assertThat(cell.isToday()).isEqualTo(expectedToday); assertThat(cell.isSelectable()).isEqualTo(expectedSelectable); assertThat(cell.getRangeState()).isEqualTo(expectedRangeState); }