### Question:
LevelBuilder { public String getBoard() { StringBuffer result = new StringBuffer(); char borderChar = Elements.BORDER.ch(); for (int x = 0; x < size; x++) { for (int y = 0; y < size; y++) { if (x == 0 || y == 0 || x == size - 1 || y == size - 1) { result.append(borderChar); } else { result.append(field[x][y]); } } } return result.toString(); } LevelBuilder(Dice dice, int size); String getBoard();  }### Answer:
@Test public void testGetBoard() throws Exception { when(dice.next(8)).thenReturn(0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3); builder = new LevelBuilder(dice, SIZE); assertB("☼☼☼☼" + "☼12☼" + "☼34☼" + "☼☼☼☼"); }