Exemple #1
0
        public void AsReadOnlyTest()
        {
            var a = new[] { new EClass(1), new EClass(2) };
            var l = new EventedList <EClass>(a);

            Assert.That(l.AsReadOnly(), Is.InstanceOf <IReadOnlyCollection <EClass> >());
        }