public void Setup() { _rollGenerator = Substitute.For <IRollGenerator>(); _rollSequenceGenerator = Substitute.For <IRollSequenceGenerator>(); _frameManager = new FrameManager(_gameManager, _rollSequenceGenerator); _game = new Game(_frameManager); _gameManager = new GameManager(_game); }
public RollSequenceGenerator(IRollGenerator rollGenerator) { _rollGenerator = rollGenerator; }