public void CallModifiedDataTest()
 {
     SyncViewModel target = new SyncViewModel(); // TODO: Inicializar en un valor adecuado
     bool expected = false; // TODO: Inicializar en un valor adecuado
     bool actual;
     actual = target.CallModifiedData();
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Compruebe la exactitud de este método de prueba.");
 }
        void DTimerUploadProcess_Tick(object sender, EventArgs e)
        {
            //Sincronizacion de catalogos
            if (!SyncViewModel.IsRunning)
            {
                Recurrence recurrencia = new Recurrence();
                System.Windows.Threading.Dispatcher dispatcher = Application.Current.Dispatcher;
                string v = ConfigurationManager.AppSettings["Assembly"].ToString();
                MainNotifViewModel mainNotifViewModel = this.GetViewModel();
                SyncViewModel svm = new SyncViewModel(dispatcher, mainNotifViewModel,recurrencia,v);
                svm.PropertyChanged += delegate(object sndr, PropertyChangedEventArgs args)
                {
                    if (args.PropertyName.ToLower() == "jobdone")
                    {
                        if (!((SyncViewModel)sndr).JobDone)
                        {
                            Action a = () => this.ShowImgSync();
                            this.Dispatcher.BeginInvoke(a);

                        }
                        else
                        {
                            Action ab = () => this.HideImgSync();
                            this.Dispatcher.BeginInvoke(ab);
                        }
                    }

                    if (args.PropertyName.ToLower() == "message")
                    {
                        Action ac = () => this.SetImgSyncMsg(((SyncViewModel)sndr).Message);
                        this.Dispatcher.BeginInvoke(ac);
                    }
                };
                svm.start();
            }
        }