public void TestThrowOnCopyToTooSmallArray()
        {
            int[]             inputIntegers  = new int[] { 12, 34, 56, 78 };
            StringTransformer testCollection = new StringTransformer(inputIntegers);

            string[] outputStrings = new string[testCollection.Count - 1];
            Assert.Throws <ArgumentException>(
                delegate() { testCollection.CopyTo(outputStrings, 0); }
                );
        }
        public void TestCopyToArray()
        {
            int[]             inputIntegers  = new int[] { 12, 34, 56, 78 };
            StringTransformer testCollection = new StringTransformer(inputIntegers);

            string[] inputStrings  = new string[] { "12", "34", "56", "78" };
            string[] outputStrings = new string[testCollection.Count];
            testCollection.CopyTo(outputStrings, 0);

            CollectionAssert.AreEqual(inputStrings, outputStrings);
        }