@Test
    public void test_moveAttack() throws OutOfBoardException{

        when(board.getXSize()).thenReturn(4);
        when(board.getYSize()).thenReturn(4);

        Pawn pawn1 = new Pawn('e', 3,2,board);
        when(board.getSquareContent(3,2)).thenReturn(pawn1);

        assertTrue(pawn.move(Direction.Right).contains("attacks"));
    }