@Test public void lock() { receptor.lock(); assertThat(receptor.isLocked()).isTrue(); }
public void lock() { this.locked = true; }
Receptor extends Tileable { public void lock() { this.locked = true; } }
Receptor extends Tileable { public void lock() { this.locked = true; }  }
Receptor extends Tileable { public void lock() { this.locked = true; }  void rotate(int turns); int getRotation(); Slot getSlot(Direction direction); boolean isMarked(); boolean isLocked(); void lock(); void unlock(); PowerUp getPowerUp(); void setPowerUp(PowerUp powerUp); @Override boolean isReleasable(Direction direction, Marble marble); @Override boolean allowsConnection(Direction direction); @Override boolean accepts(Direction direction, Marble marble); @Override void accept(Direction direction, Marble marble); }
Receptor extends Tileable { public void lock() { this.locked = true; }  void rotate(int turns); int getRotation(); Slot getSlot(Direction direction); boolean isMarked(); boolean isLocked(); void lock(); void unlock(); PowerUp getPowerUp(); void setPowerUp(PowerUp powerUp); @Override boolean isReleasable(Direction direction, Marble marble); @Override boolean allowsConnection(Direction direction); @Override boolean accepts(Direction direction, Marble marble); @Override void accept(Direction direction, Marble marble);  }