public void Initialise()
 {
     _currentGame = new Game(null);
     _battleArenaFactory = new BattleArenaFactory();
     _commandParser = new CreateBattleArenaCommandParser(_currentGame, _battleArenaFactory);
 }
Beispiel #2
0
 public void GivenThatIHaveCreatedABattleArenaOfSizeBy(string battleArenaSize)
 {
     var commandParser = new CreateBattleArenaCommandParser(_game, new BattleArenaFactory());
     Assert.IsTrue(commandParser.Validate(battleArenaSize));
     commandParser.ProcessInput(battleArenaSize);
 }