public void ExitPregameGoesToLineupPhase()
 {
     var command = new StartPeriodCommand(Guid.Empty, "connection");
     var handler = new StartPeriodCommandHandler(_boutRunner, _boutData);
     handler.Handle(command);
     var state = _boutRunner.GetBoutState(Guid.Empty);
     Assert.Equal(BoutPhase.Lineup, state.Phase);
 }
Beispiel #2
0
        public async Task ExitPregame(string nodeId, Guid boutId)
        {
            var command = new StartPeriodCommand(boutId, Context.ConnectionId);

            await Dispatch(nodeId, NodeRoles.JamTimer, command);
        }