public void SelectedSize_SetValue_FiresSizeRangePropertyChangedValue() { FilesSizeLimitSettings sut = new FilesSizeLimitSettings(); sut.ShouldNotifyOn(s => s.SizeRange).When(s => s.SelectedSize = s.Sizes.First(x => x != s.SelectedSize)); }
public void SizeLimit_SetValue_FiresPropertyChangedValue() { FilesSizeLimitSettings sut = new FilesSizeLimitSettings(); sut.ShouldNotifyOn(s => s.SizeLimit).When(s => s.SizeLimit = 2); }