public void List_AddItem_AddsItem()
            {
                var source = new List <int> {
                    13
                };
                var list = new ReadWriteList <int>(source);

                list.Add(17);
                Assert.IsTrue(source.SequenceEqual(new [] { 13, 17 }), "Item should be added.");
            }
Exemple #2
0
 public void AddChannel(AbstractNetowrkChannel channel)
 {
     _channels.Add(channel);
 }