示例#1
0
        public void ShouldNotBeAbleToEnterStringForVotes()
        {
            var  voting          = new Voting();
            bool areVotesEntered = false;
            var  candidate       = voting.GetFirstCandidate();

            areVotesEntered = voting.SetVotesForCandidate(candidate, "abba");
            Assert.IsTrue(!areVotesEntered);
        }