public override void SetUp()
                {
                    base.SetUp();
                    _expected = CreateJohn();
                    _sut.Add(_expected);

                    _observer = new TestScheduler().CreateObserver <CollectionChangedData <SampleDto> >();
                    _ageChanges.Subscribe(_observer);
                    _sut.RemoveAt(0);
                    _message = _observer.Messages.Single();
                    _data    = _message.Value.Value;
                }
                public override void SetUp()
                {
                    base.SetUp();
                    _expected = CreateJohn();
                    _sut.Add(_expected);

                    _observer     = new TestScheduler().CreateObserver <CollectionChangedData <SampleDto> >();
                    _subscription = _ageChanges.Subscribe(_observer);
                    Assume.That(_sut[0].Age != _expectedAge);
                    _sut[0].Age = _expectedAge;
                    _message    = _observer.Messages.Single();
                    _data       = _message.Value.Value;
                }
 public virtual void SetUp()
 {
     _sut = new SampleDto();
 }
                public override void SetUp()
                {
                    base.SetUp();
                    _expected = CreateJohn();
                    _sut.Add(_expected);

                    _observer = new TestScheduler().CreateObserver<CollectionChangedData<SampleDto>>();
                    _subscription = _ageChanges.Subscribe(_observer);
                    Assume.That(_sut[0].Age != _expectedAge);
                    _sut[0].Age = _expectedAge;
                    _message = _observer.Messages.Single();
                    _data = _message.Value.Value;
                }
                public override void SetUp()
                {
                    base.SetUp();
                    _expectedOld = CreateJohn();
                    _expectedNew = CreateJack();
                    _sut.Add(_expectedOld);

                    _observer = new TestScheduler().CreateObserver<CollectionChangedData<SampleDto>>();
                    _ageChanges.Subscribe(_observer);
                    _sut[0] = _expectedNew;
                    _message = _observer.Messages.Single();
                    _data = _message.Value.Value;
                }
 public virtual void SetUp()
 {
     _sut = new SampleDto();
 }