@Test public void activate() { receptor.setPowerUp(powerUp); for (Direction direction : Direction.values()) { receptor.accept(direction, new Marble(MarbleType.BLUE)); } assertThat(session.getProgress().getScore()).isEqualTo(200); }
@Override public void activate(Receptor receptor) { receptor.getTile().getGrid().getSession().getProgress().score(100); }
BonusPowerUp implements PowerUp { @Override public void activate(Receptor receptor) { receptor.getTile().getGrid().getSession().getProgress().score(100); } }
BonusPowerUp implements PowerUp { @Override public void activate(Receptor receptor) { receptor.getTile().getGrid().getSession().getProgress().score(100); }  }
BonusPowerUp implements PowerUp { @Override public void activate(Receptor receptor) { receptor.getTile().getGrid().getSession().getProgress().score(100); }  @Override void activate(Receptor receptor); }
BonusPowerUp implements PowerUp { @Override public void activate(Receptor receptor) { receptor.getTile().getGrid().getSession().getProgress().score(100); }  @Override void activate(Receptor receptor);  }