public virtual void TestToString() { StringBuilder exp = new StringBuilder(); exp.Append("["); exp.Append(REF_A); exp.Append(", "); exp.Append(REF_B); exp.Append("]"); RefList <Ref> list = ToList(REF_A, REF_B); NUnit.Framework.Assert.AreEqual(exp.ToString(), list.ToString()); }