public void TestReadOnly_Collection_WrapsCollection() { var collection = new Collection<int>(); var readOnly = collection.ReadOnly(); Assert.AreSame(collection, readOnly.List, "The underlying list was not set."); }