@@ -0,0 +1,920 @@
+package ru.job4j;%0A%0Aimport ru.job4j.game.*;%0Aimport ru.job4j.figure.*;%0A%0Aimport org.junit.Test;%0A%0Aimport static org.hamcrest.Matchers.is;%0Aimport static org.junit.Assert.assertThat;%0A%0A/**.%0A* Chapter_002%0A* Task 2.9.2%0A* Test move chess figure%0A*%0A* @author Anton Vasilyuk%0A* @version 1.0%0A* @since 0.1%0A*/%0A%0Apublic class ChessBoardTest %7B%0A%0A%09/**.%0A%09* Method for test move figures%0A%09*/%0A%09@Test//(expected = ImposibleMoveException.class)%0A%09public void whenFigureWantMoveThenCheckMayBeMakeThis() throws ImposibleMoveException, OccupedWayException, FigureNotFoundException, CloneNotSupportedException %7B%0A%09%09Cell nowCell = new Cell(0, 0);%0A%09%09Cell nextCell = new Cell(0, 6);%0A%09%09Board board = new Board();%0A%09%09board.fillFigure();%0A%09%09//Figure%5B%5D figures = board.getFigures();%0A%09%09boolean result = board.move(nowCell, nextCell);%0A%09%09//Bishop bishop = new Bishop(nowCell);%0A%09%09//bishop.way(nextCell);%0A%09%09boolean expect = true;%0A%09%09assertThat(result, is(expect));%0A%09%7D%0A%7D

add file for chapter_002_2.9.2