public void StartTurn_IsCalled_GetsViableStories() { ITurnManager turnManager = Substitute.For <ITurnManager>(); turnManager.ViableStories = new List <IStory>(); _gameManager.StartTurn(turnManager); turnManager.Received().GetViableStories(_gameManager.BaseData, _gameManager.GameData); }
public void StartTurn_HasViableStories_BeginsTurn() { ITurnManager turnManager = Substitute.For <ITurnManager>(); turnManager.ViableStories = new List <IStory>(); turnManager.ViableStories.Add(new Story()); _gameManager.StartTurn(turnManager); turnManager.Received().BeginTurn(_gameManager.BaseData, _gameManager.GameData); }