### Question:
Board extends AbstractBoard<Elements> { public boolean isBarrierAt(int x, int y) { return getBarriers().contains(pt(x, y)); }  @Override Elements valueOf(char ch); Elements getAt(int x, int y); Collection<Point> getBarriers(); @Override String toString(); Point getBomberman(); Collection<Point> getOtherBombermans(); boolean isMyBombermanDead(); Collection<Point> getMeatChoppers(); Collection<Point> getWalls(); Collection<Point> getDestroyableWalls(); Collection<Point> getBombs(); Collection<Point> getPerks(); Collection<Point> getBlasts(); Collection<Point> getFutureBlasts(); boolean isBarrierAt(int x, int y); boolean isBarrierAt(Point point); static final char ANY_CHAR; }### Answer:
@Test public void shouldWork_isBarrierAt() { assertEquals(true, board.isBarrierAt(1, 1)); assertEquals(false, board.isBarrierAt(5, 1)); }
@Test public void shouldWork_isBarrierAt_point() { assertEquals(true, board.isBarrierAt(pt(1, 1))); assertEquals(false, board.isBarrierAt(pt(5, 1))); }