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