@Test public void shouldNotParseEmptyBoard() throws Exception { char[][] board = new char[][]{{}}; assertThat(Parser.boardToRootCell(board), instanceOf(NotACell.class)); }
public static Cell boardToRootCell(char[][] board) { return createCellAndNeighbors(0, 0, board, createCellsCache(board)); }
Parser { public static Cell boardToRootCell(char[][] board) { return createCellAndNeighbors(0, 0, board, createCellsCache(board)); } }
Parser { public static Cell boardToRootCell(char[][] board) { return createCellAndNeighbors(0, 0, board, createCellsCache(board)); } private  Parser(); }
Parser { public static Cell boardToRootCell(char[][] board) { return createCellAndNeighbors(0, 0, board, createCellsCache(board)); } private  Parser(); static Cell boardToRootCell(char[][] board); }
Parser { public static Cell boardToRootCell(char[][] board) { return createCellAndNeighbors(0, 0, board, createCellsCache(board)); } private  Parser(); static Cell boardToRootCell(char[][] board);  }