@Test
public void testUndo() {

    LotoGrid grid = new LotoGrid(MAX_NUMBER + 1, MAX_NUMBER);
    for (int i = 1; i <= MAX_NUMBER; i++) {
        grid.clic(i);
    }
    for (int i = MAX_NUMBER; i >= 0; i--) {
        assertThat(grid.getActualGrid().getNumbers()).isEqualTo(rangeSet(1, i));
        grid.undo();
    }
}