### Question:
CapturableCellsFinder extends AbstractGameRules { public List<Cell> findCapturableCells(GameAction gameAction) { int x = gameAction.getX(); int y = gameAction.getY(); Cell[][] cells = gameAction.getGame().getBoard().getCells(); int initType = cells[x][y].getType(); List<Cell> capturedCells = new ArrayList<>(); deepTargetCell(capturedCells, cells, initType, x, y); deepOwnedCells(capturedCells, cells, initType, gameAction); return capturedCells; }  List<Cell> findCapturableCells(GameAction gameAction);  }### Answer:
@Test public void testFindCapturedCells() { GameAction gameAction = new GameAction(); gameAction.setGame(generateGame()); gameAction.setX(TARGET_X); gameAction.setY(TARGET_Y); gameAction.setActionedPlayerId(PLAYER_ID); List<Cell> capturedCells = gameRules.findCapturableCells(gameAction); assertThat(capturedCells.size()).isEqualTo(7); assertThat(capturedCells).containsAll(markToCapturedCells); }