public void When_CopyToTooSmallArray_Expect_ArgumentOutOfRangeException()
        {
            var input = new[] { "a", "b", "c" };
            var enumerableCollection = new EnumerableCollection <string>(input, input.Length);
            var output = new string[2];

            Assert.Throws <ArgumentOutOfRangeException>(() => { enumerableCollection.CopyTo(output, 0); });
        }
        public void When_CopyToArray_Expect_OutputEqualToInput()
        {
            var input = new[] { "a", "b", "c" };
            var enumerableCollection = new EnumerableCollection <string>(input, input.Length);
            var output = new string[3];

            enumerableCollection.CopyTo(output, 0);
            Assert.Equal(input, output);
        }