Exemple #1
0
        public void Review_WhenSet_RaisesPropertyChanged()
        {
            IReview newReview = AReview.Build();

            var test = new ReviewChecklistItem();

            test.AssertThatChangeNotificationIsRaisedBy(x => x.Review).
            When(() => test.Review = newReview);
            Assert.Same(newReview, test.Review);
        }