public void init()
 {
     target = new SystemParameterDetailsViewModel();
     target.Initialize(
         new SystemParametersEdit { PersonProcessSystemName = Test, Expression = "Expresion" },
         new SystemParameterListViewModel { AvailableProcesses = new MobileList<InheritedProcess>() { new InheritedProcess() { ProcessId = 1, ProcessSystemName = Test } } });
 }
 public void GetSetPropertiesTest()
 {
     var tag = new SystemParameterDetailsViewModel();
     TestsHelper.TestPublicPropertiesGetSet(tag, x => tag.PersonProcess);
 }
        /// <summary>
        /// Handles the <see cref="E:ModelPropertyChanged" /> event.
        /// </summary>
        /// <param name="viewModel">The view model.</param>
        /// <param name="arg2">The arg2.</param>
        /// <param name="arg3">The <see cref="PropertyChangedEventArgs"/> instance containing the event data.</param>
        private static void OnModelPropertyChanged(SystemParameterDetailsViewModel viewModel, object arg2, PropertyChangedEventArgs arg3)
        {
            var checkRules = viewModel.ParentViewModel.Model as ICheckRules;

            if (checkRules == null)
                return;

            checkRules.CheckRules();

        }