Пример #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());
        }