private ReviewBuilder(ReviewBuilder other) { _reviewPeriod = TimeSpan.FromDays(7.0); _horizonOfFocus = HorizonOfFocus.AreaOfFocus; _horizonOfFocus = other._horizonOfFocus; _lastReviewed = other._lastReviewed; _reviewPeriod = other._reviewPeriod; }
public void HorizonOfFocus_WhenSet_RaisesPropertyChanged() { const HorizonOfFocus newHorizon = HorizonOfFocus.Project; var test = new Review(); test.AssertThatChangeNotificationIsRaisedBy(x => x.HorizonOfFocus). When(() => test.HorizonOfFocus = newHorizon); Assert.Equal(newHorizon, test.HorizonOfFocus); }
public ReviewBuilder() { _reviewPeriod = TimeSpan.FromDays(7.0); _horizonOfFocus = HorizonOfFocus.AreaOfFocus; }