@Test
public void testOpenManyUnflaggedNeighborsOnOpen() {

    Game game = new Game(100, 100, 1, new IBoardMiner() {
        @Override
        public void mine(final IBoard board, final int bombs, final IField clickedField) {
            ((Field) board.getField(0, 0)).setBomb(true);
        }
    });
    openAt(1, 0, game);
    openAt(1, 1, game);
    openAt(0, 1, game);
    game.addListener(new FailingMinesListener() {
        @Override
        public void onChange(final int flags, final int mines) {
            assertEquals(0, flags);
        }
    });
    openAt(2, 0, game);
}