public void StartWithOneTeam()
        {
            var gametimings = new GameTimings();
            var datetimenow = DateTime.Now.AddDays(10);

            gametimings.GameStartDate = datetimenow;
            timingManager.Setup(p => p.GetGameTimings()).Returns(gametimings);

            var player = new Arbiter.ConfigurationSvc.PlayerData()
            {
                Name            = "Player",
                MachineId       = 1,
                Width           = 10,
                Length          = 10,
                MarkerPositionX = 2,
                MarkerPositionY = 3,
                Marker          = new Color {
                    r = 100, g = 100, b = 100
                }
            };
            var team = new TeamMembership
            {
                TeamName = "Team1",

                TeamId      = 10,
                PlayerCount = 1,
                Players     = new List <Arbiter.ConfigurationSvc.PlayerData> {
                    player
                },
                ControlCenterCount = 0,
                ControlCenters     = new List <Arbiter.ConfigurationSvc.ControllCenterData>(),
                GateId             = 0
            };

            var membership = new GameMembership
            {
                TeamCount = 1,
                Teams     = new List <TeamMembership> {
                    team
                }
            };

            membershipManager.Setup(m => m.GetMembership()).Returns(membership);

            var client = new GameProvider(membershipManager.Object,
                                          timingManager.Object,
                                          statusMessageLogger.Object);

            client.StartGame();
            statusMessageLogger.Verify(m => m.ShowStatusMessage(It.IsAny <string>()));
            timingManager.Verify(t => t.GetGameTimings());
            membershipManager.Verify(m => m.GetMembership());
            client.EndGame();
            statusMessageLogger.Verify(m => m.ShowStatusMessage(It.IsAny <string>()));
        }
        public void StartBeforeDateOfStart()
        {
            var gametimings = new GameTimings();
            var datetimenow = DateTime.Now.AddDays(-10);

            gametimings.GameStartDate = datetimenow;
            timingManager.Setup(p => p.GetGameTimings()).Returns(gametimings);

            var client = new GameProvider(membershipManager.Object,
                                          timingManager.Object,
                                          statusMessageLogger.Object);

            client.StartGame();
            statusMessageLogger.Verify(m => m.ShowStatusMessage(It.IsAny <string>()));
        }