Пример #1
0
 private void SetupLordAndObject(ThingType thingType, bool unique)
 {
     var(lord, thing) = _actionDriver.GivenALordIsCarryingAnObjectOfType(thingType, unique);
     _scenarioContext["currentLord"]  = lord;
     _scenarioContext["currentThing"] = thing;
 }
Пример #2
0
 private void SetupLordAndObject()
 {
     var(lord, thing) = _actionDriver.GivenALordIsCarryingAnObjectOfType(ThingType.CupOfDreams);
     _scenarioContext["currentLord"]  = lord;
     _scenarioContext["currentThing"] = thing;
 }