    @Test
    public void testAction() {

        initializeBoard();
        initializeListener();
        testBoardManagerInit();
        fillBoardWithZero();
        Game2048Layout.Action leftAction = Game2048Layout.Action.LEFT;
        Game2048Layout.Action rightAction = Game2048Layout.Action.RIGHT;
        Game2048Layout.Action upAction = Game2048Layout.Action.UP;
        Game2048Layout.Action downAction = Game2048Layout.Action.DOWN;
        boardManager.action(leftAction);
        assertFalse(boardManager.isGameOver());
        Game2048Item game2048Item1 = new Game2048Item(context);
        game2048Item1.setNumber(1024);
        Game2048Item game2048Item2 = new Game2048Item(context);
        game2048Item2.setNumber(512);
        boardManager.setGame2048ItemWithIndex(game2048Item1, 0, 0);
        boardManager.setGame2048ItemWithIndex(game2048Item2, 0, 1);
        boardManager.action(rightAction);
        assertFalse(boardManager.isGameOver());
        boardManager.resetSameSizeBoard();
        fillBoardWithTwo();
        boardManager.action(upAction);
        boardManager.action(downAction);
        assertFalse(boardManager.isWinning());
    }