### Question:
Board extends AbstractBoard<Elements> { public boolean isGameOver() { return getHead() == null; }  @Override Elements valueOf(char ch); List<Point> getApples(); Direction getSnakeDirection(); Point getHead(); List<Point> getBarriers(); List<Point> getSnake(); boolean isGameOver(); @Override String toString(); List<Point> getStones(); List<Point> getWalls();  }### Answer:
@Test public void shouldIsGameOverTrue() { Board board = (Board) new Board().forString( "☼☼☼☼" + "☼ ╙☼" + "☼ ☼" + "☼☼☼☼"); assertEquals(true, board.isGameOver()); }