### Question:
Board extends AbstractBoard<Elements> { public boolean isBarrierAt(int x, int y) { return !isAt(Elements.Layers.LAYER1, x, y, Elements.FLOOR, Elements.BASE1, Elements.BASE2, Elements.BASE3, Elements.BASE4, Elements.EXIT, Elements.GOLD, Elements.HOLE) || !isAt(Elements.Layers.LAYER2, x, y, Elements.EMPTY, Elements.GOLD, Elements.FORCE1, Elements.FORCE2, Elements.FORCE3, Elements.FORCE4); }  @Override Elements valueOf(char ch); boolean isBarrierAt(int x, int y); boolean isHoleAt(int x, int y); Elements getMyForcesColor(); int getForcesAvailable(); int getTick(); boolean isInLobby(); Point getRound(); Point getMyBasePosition(); List<Forces> getMyForces(); List<Forces> getAllForces(); List<Forces> getEnemyForces(); List<Point> getWalls(); List<Point> getBreaks(); List<Point> getHoles(); List<Point> getExits(); List<Point> getBases(); List<Point> getGold(); boolean isMeAlive(); List<Point> getFreeSpaces(); String maskOverlay(String source, String mask); @Override String toString(); List<Direction> getShortestWay(Point from, List<Point> to); Forces forceAt(Point point);  }### Answer:
@Test public void shouldBeBarriers() { assertEquals(true, board.isBarrierAt(0, 0)); assertEquals(true, board.isBarrierAt(1, 0)); assertEquals(true, board.isBarrierAt(0, 1)); assertEquals(true, board.isBarrierAt(4, 4)); assertEquals(true, board.isBarrierAt(5, 4)); assertEquals(true, board.isBarrierAt(4, 5)); assertEquals(true, board.isBarrierAt(5, 8)); assertEquals(true, board.isBarrierAt(6, 8)); assertEquals(true, board.isBarrierAt(6, 7)); assertEquals(true, board.isBarrierAt(10, 10)); assertEquals(true, board.isBarrierAt(9, 10)); assertEquals(true, board.isBarrierAt(10, 9)); assertEquals(true, board.isBarrierAt(5, 5)); assertEquals(false, board.isBarrierAt(2, 2)); assertEquals(false, board.isBarrierAt(1, 1)); assertEquals(false, board.isBarrierAt(9, 9)); assertEquals(false, board.isBarrierAt(1, 9)); assertEquals(true, board.isBarrierAt(2, 1)); assertEquals(false, board.isBarrierAt(3, 9)); }