@Test public void testAppliesToCharacterWorldObject() { final WorldObject obj = mock(WorldObject.class); final Character caster = mock(Character.class); assertFalse(poisonEffect.appliesTo(caster, obj)); }
@Override public boolean appliesTo(Character caster, Character target) { if (target.isDead()) { return false; } return true; }
PoisonEffect implements Effect { @Override public boolean appliesTo(Character caster, Character target) { if (target.isDead()) { return false; } return true; } }
PoisonEffect implements Effect { @Override public boolean appliesTo(Character caster, Character target) { if (target.isDead()) { return false; } return true; }  }
PoisonEffect implements Effect { @Override public boolean appliesTo(Character caster, Character target) { if (target.isDead()) { return false; } return 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 boolean appliesTo(Character caster, Character target) { if (target.isDead()) { return false; } return 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);  }