public void RemovePlayer_ClearsBracketMatches()
        {
            IPlayer        ip    = new Mock <IPlayer>().Object;
            List <IPlayer> pList = new List <IPlayer>();

            for (int i = 0; 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.AddPlayer(ip);
            b.CreateBracket();
            b.RemovePlayer(ip.Id);

            Assert.AreEqual(0, b.NumberOfMatches);
        }