protected override void Context()
 {
     base.Context();
     _objectToAdd = new AnImplementation {
         FirstName = "toto"
     };
 }
 protected override void Context()
 {
     sut = new NotifyList <IAnInterface>();
     _implementation0 = new AnImplementation {
         FirstName = "aaa"
     };
     sut.Add(_implementation0);
     _reference = new WeakReference(_implementation0);
 }
Beispiel #3
0
 protected override void Context()
 {
     base.Context();
     _implementation4       = new AnImplementation();
     sut["toto"]            = new AnImplementation();
     sut.CollectionChanged += (o, e) =>
     {
         _eventRaised = true;
         _action      = e.Action;
     };
 }
Beispiel #4
0
        protected override void Context()
        {
            var obj1 = new AnImplementation();
            var obj2 = new AnImplementation();
            var obj3 = new AnImplementation();

            _list1 = new List <IAnInterface> {
                obj1, obj2
            };
            _list2 = new List <IAnInterface> {
                obj1, obj2
            };
            _list3 = new List <IAnInterface> {
                obj1
            };
            _list4 = new List <IAnInterface> {
                obj1, obj3
            };
        }
 protected override void Context()
 {
     _oneImplementation = new AnImplementation();
 }