@Test public void testApplyCharacterCharacter() { final Character caster = mock(Character.class); final Character target = mock(Character.class); poisonEffect.apply(caster, target); verify(target).setPoisoned(true); }
@Override public void apply(Character caster, Character target) { target.setPoisoned(true); }
PoisonEffect implements Effect { @Override public void apply(Character caster, Character target) { target.setPoisoned(true); } }
PoisonEffect implements Effect { @Override public void apply(Character caster, Character target) { target.setPoisoned(true); }  }
PoisonEffect implements Effect { @Override public void apply(Character caster, Character target) { target.setPoisoned(true); }  @Override void apply(Character caster, Character target); @Override boolean appliesTo(Character caster, Character target); @Override boolean appliesTo(Character caster, WorldObject worldobject); @Override void apply(Character caster, WorldObject target); }
PoisonEffect implements Effect { @Override public void apply(Character caster, Character target) { target.setPoisoned(true); }  @Override void apply(Character caster, Character target); @Override boolean appliesTo(Character caster, Character target); @Override boolean appliesTo(Character caster, WorldObject worldobject); @Override void apply(Character caster, WorldObject target);  }