public void Factory_return_initialised_FightingFantasy_class() { Engine.Core.FightingFantasy fightingFantasy = null; Assert.DoesNotThrow(() => fightingFantasy = FightingFantasyFactory.Create()); Assert.That(fightingFantasy, Is.Not.Null); }
public ConsoleUi(IOutput output, IInput input) { _output = output; _input = input; _state = State.Started; _engine = FightingFantasyFactory.Create(); }
public void SetUp() { _die = new Mock <IDie>(); _engine = new Engine.Core.FightingFantasy(_die.Object); }