public void BeforeEach() { _objectUnderTest = new GeneralOptionsPageViewModel(); _changedProperties = new List <string>(); _objectUnderTest.PropertyChanged += (sender, args) => _changedProperties.Add(args.PropertyName); }
public void TestInitialConditions() { _objectUnderTest = new GeneralOptionsPageViewModel(); Assert.IsFalse(_objectUnderTest.OptIn); Assert.IsFalse(_objectUnderTest.HideUserProjectControl); Assert.IsNotNull(_objectUnderTest.AnalyticsLearnMoreLinkCommand); }