示例#1
0
        public void ShouldNotBeAbleToSendStringValuesInIssuedBallots()
        {
            var voting = new Voting();

            voting.SetIssuedBallots("abba");
            voting.SendReport();
            Assert.IsTrue(voting.IsErrorMessagePresent());
        }
示例#2
0
        public void ShouldNotBeAbleToSendNegativeValuesInInvalidVotes()
        {
            var voting = new Voting();

            voting.SetInvalidVotes("-10");
            voting.SendReport();
            Assert.IsTrue(voting.IsErrorMessagePresent());
        }