chapter_002/src/test/java/ru/job4j/chess/BoardTest.java
@Test(expected = FigureNotFoundException.class)
    public void whenMoveFromCellWereNotFigureWeHaveFigureNotFoundException() throws FigureNotFoundException, OccupiedWayException, ImpossibleMoveExeption {
        Board board = new Board();
        board.startGame();
        Cell[][] cells = board.getCells();
        board.move(cells[2][2], cells[1][3]);
    }
/**
     * Test figure not found Exception.
     *
     * @throws OccupiedWayException OccupiedWayException
     * @throws FigureNotFoundException FigureNotFoundException
     * @throws ImpossibleMoveExeption ImpossibleMoveExeption
     */
Test figure not found Exception.
Test figure not found Exception .
@Test(expected = FigureNotFoundException.class)
    public void whenMoveFromCellWereNotFigureWeHaveFigureNotFoundException() throws FigureNotFoundException, OccupiedWayException, ImpossibleMoveExeption {
        Board board = new Board();
        board.startGame();
        Cell[][] cells = board.getCells();
        board.move(cells[2][2], cells[1][3]);
    }
@ Test ( expected = FigureNotFoundException . class ) public void whenMoveFromCellWereNotFigureWeHaveFigureNotFoundException ( ) throws FigureNotFoundException , OccupiedWayException , ImpossibleMoveExeption { Board board = new Board ( ) ; board . startGame ( ) ; Cell [ ] [ ] cells = board . getCells ( ) ; board . move ( cells [ 2 ] [ 2 ] , cells [ 1 ] [ 3 ] ) ; }
Test figure not found Exception.
Test figure not found Exception .