Exemple #1
0
        public void TestConstructorWithNullShouldThrowException()
        {
            ListIterator list = new ListIterator();

            Assert.That(() => list = new ListIterator(null), Throws.ArgumentNullException.With.Message.EqualTo("No elements provided!"));
        }
Exemple #2
0
        private void Create(string[] inputStrings)
        {
            var input = inputStrings.Skip(1).ToArray();

            this.listIterator = new ListIterator(input);
        }