@Test
    public void testImpossibleMove() {
		try {
			game = RulesParser.parse("./rules/Chess.xml");
			Scanner sc = new Scanner(new File("./test/impossibleMoveBoard.txt"));
			//
			int xSize = 8;
			int ySize = 8;
			//
			int [][] newField = new int[xSize][ySize];
			for (int y = ySize - 1; y > -1; --y) {
				for (int x = 0; x < xSize; ++x) {
					newField[x][y] = sc.nextInt();
				}
			}
			//
			int [][] playersId = new int[xSize][ySize];
			for (int y = ySize - 1; y > -1; --y) {
				for (int x = 0; x < xSize; ++x) {
					playersId[x][y] = sc.nextInt();
				}
			}
			//
			int [][] specialMovesId = new int[xSize][ySize];
			for (int y = ySize - 1; y > -1; --y) {
				for (int x = 0; x < xSize; ++x) {
					specialMovesId[x][y] = sc.nextInt();
				}
			}
			int ownTurn = sc.nextInt();
			
			sc.close();
			
			game.forcedMove(newField, playersId, specialMovesId, ownTurn);
		} catch(Exception e) {
			System.out.print("File not found");
		}
		boolean expected = false;
		//Bishop
		boolean result = game.move(new Position(4, 2), new Position(2, 0));
		assertEquals("Bishop have captured own Pawn", expected, result);
		
		result = game.move(new Position(4, 2), new Position(6, 1));
		assertEquals("Bishops`s move is incorrect", expected, result);
		
		result = game.move(new Position(4, 2), new Position(7, -1));
		assertEquals("Bishop have moved out of board", expected, result);
		//Knight
		result = game.move(new Position(3, 2), new Position(2, 0));
		assertEquals("Knight have captured own Pawn", expected, result);
		
		result = game.move(new Position(3, 2), new Position(4, 0));
		assertEquals("Knight have captured own Rock", expected, result);
		
		result = game.move(new Position(6, 1), new Position(7, -1));
		assertEquals("Knight have moved out of board", expected, result);
		//Rock
		result = game.move(new Position(4, 0), new Position(4, 2));
		assertEquals("Rock have captured own Bishop", expected, result);
		
		result = game.move(new Position(4, 0), new Position(4, 4));
		assertEquals("Rock`s move is incorrect", expected, result);
		//Pawn
		result = game.move(new Position(2, 0), new Position(2, 1));
		assertEquals("Pawns`s move is incorrect", expected, result);
		
		result = game.move(new Position(2, 0), new Position(2, 2));
		assertEquals("Pawns`s move is incorrect", expected, result);
		
		result = game.move(new Position(2, 0), new Position(2, -1));
		assertEquals("Pawn have moved out of board", expected, result);
	}