public void RefusesWieldingIllegalItem() { var character = new Wizard() {WieldedWeapon = new IronDagger()}; var item = new IronDagger(); var result = _god.Says(character).Can.Wield(item); Assert.That(result, Is.False); }
public void RefuseAttackIllegalObject() { var character = new Wizard() {WieldedWeapon = new IronDagger()}; var item = new IronDagger(); var result = _god.Says(character).Can.Attack(item); Assert.That(result,Is.False); }
public void AcceptAttackLegalObject() { var character = new Wizard() {WieldedWeapon = new IronDagger()}; var character2 = new Wizard(); var item = new IronDagger(); var result = _god.Says(character).Can.Attack(character2); Assert.That(result,Is.True); }