public void ToStringTest()
        {
            T[] a = new T[] { two, one, three, four, seven };
            AtomicReferenceArray <T> ai = new AtomicReferenceArray <T>(a);

            Assert.AreEqual(ConvertArrayToString(a), ai.ToString());
            Assert.AreEqual("[]", new AtomicReferenceArray <T>(0).ToString());
        }
 /// <summary>
 /// Returns the String representation of the current values of array.</summary>
 /// <returns> the String representation of the current values of array.
 /// </returns>
 public override string ToString()
 {
     return(_atomicReferenceArray.ToString());
 }