public void TestEnumerator()
        {
            PopulateTestQueue();
            IEnumerator <int?> enumerator = TestQueue.GetEnumerator();

            int currentIndex = 2;

            while (enumerator.MoveNext())
            {
                Assert.Equal(currentIndex, enumerator.Current);
                currentIndex++;
            }
        }