protected override void Arrange()
        {
            base.Arrange();

            referenceData          = LoggingSectionViewModel.DescendentConfigurationsOfType <TraceListenerReferenceData>().First();
            overrideProperty       = GetOverridesProperty(referenceData);
            overrideProperty.Value = true;
        }
Exemplo n.º 2
0
 protected override void Act()
 {
     customSystemDiagnostic = LoggingSectionViewModel.DescendentConfigurationsOfType <SystemDiagnosticsTraceListenerData>().FirstOrDefault();
 }
 public void then_referenceddata_removed_from_source()
 {
     Assert.IsFalse(LoggingSectionViewModel.DescendentConfigurationsOfType <TraceListenerReferenceData>().Any(d => d.ElementId == referenceData.ElementId));
 }