public void SMGFWR_ThrowsInactiveMatch_IfAffectedMatchIsFinished() { List <IPlayer> pList = new List <IPlayer>(); for (int i = 1; i <= 4; ++i) { Mock <IPlayer> moq = new Mock <IPlayer>(); moq.Setup(p => p.Id).Returns(i); pList.Add(moq.Object); } IBracket b = new SingleElimBracket(pList); b.AddGame(2, 1, 0, PlayerSlot.Defender); b.SetMaxGamesForWholeRound(1, 3); Assert.AreEqual(1, 2); }