public void ToXmlTest()
    {
      ScenarioViewModel target = new ScenarioViewModel(); // TODO: Initialize to an appropriate value

     
      XElement expected = null; // TODO: Initialize to an appropriate value
      XElement actual;
    
    
    }
    public MainWindow()
    {
      InitializeComponent();
      //register for unhandled exceptions
      Application.Current.DispatcherUnhandledException += new System.Windows.Threading.DispatcherUnhandledExceptionEventHandler(Current_DispatcherUnhandledException);
      AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);

      svm = new ScenarioViewModel();
      DataContext = svm;
      svm.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(svm_PropertyChanged);
    }