public void TestConstructor6()
        {
            ArrayList <String> strings = new ArrayList <String>();

            for (int i = 0; i < SIZE; ++i)
            {
                strings.Add(i.ToString());
            }
            LinkedBlockingQueue <String> q = new LinkedBlockingQueue <String>(strings);

            for (int i = 0; i < SIZE; ++i)
            {
                Assert.AreEqual(strings.Get(i), q.Poll());
            }
        }
        public void TestAddAll5()
        {
            ArrayList <String> empty   = new ArrayList <String>();
            ArrayList <String> strings = new ArrayList <String>(SIZE);

            for (int i = 0; i < SIZE; ++i)
            {
                strings.Add(i.ToString());
            }
            LinkedBlockingQueue <String> q = new LinkedBlockingQueue <String>(SIZE);

            Assert.IsFalse(q.AddAll(empty));
            Assert.IsTrue(q.AddAll(strings));
            for (int i = 0; i < SIZE; ++i)
            {
                Assert.AreEqual(strings.Get(i), q.Poll());
            }
        }