public void ESyncTabIsEnabledInSystemProcesses()
        {
            // Arrange.
            var utils = Mock.Create<IUtils>(Behavior.Loose);
            Mock.Arrange(() => utils.CurrentUserIsReadOnly).Returns(false);

            var process = Mock.Create<ProcessEdit>(Behavior.Loose);
            Mock.Arrange(() => process.IsSystem).Returns(true);
            Mock.Arrange(() => process.SystemName).Returns(Constants.AccountProcessName);

            var target = new ProcessESyncDesignerViewModel { Utils = utils, Model = process };

            // Act / Assert.
            Assert.IsTrue(target.Enabled);
        }
 public void PropertiesTests()
 {
     var vm = new ProcessESyncDesignerViewModel();
     TestsHelper.TestPublicDeclaredPropertiesGetSet(vm, true);
 }