Ejemplo n.º 1
0
        public void Create_ThrowWhenLessThanTwoCounterNames()
        {
            var names   = new[] { "name" };
            var factory = new VotingPollFactory();

            Assert.Throws <ArgumentException>(() => factory.Create(names));
        }