public void AssertError(string testName, NotificationsViewModelData notificationsViewModelData, EditProjectControls editProjectControls, ProjectConfigErrorMessages projectConfigErrorMessages, IList <string> expctedErrorCodes)
        {
            bool expectError = expctedErrorCodes.Count > 0;

            _propertiesAsserts.AssertProperty(testName, nameof(editProjectControls.ImgErrorVisible), editProjectControls.ImgErrorVisible, expectError);
            _propertiesAsserts.AssertProperty(testName, nameof(editProjectControls.ImgValidVisible), editProjectControls.ImgValidVisible, !expectError);
            _propertiesAsserts.AssertProperty(testName, nameof(editProjectControls.BtnNavToProcessVisible), editProjectControls.BtnNavToProcessVisible, !expectError);


            AssertErrorMessage(testName, expctedErrorCodes.Contains(IdMandatory.Name), projectConfigErrorMessages.IdErrorMessage, nameof(projectConfigErrorMessages.IdErrorMessage));
            //AssertErrorMessage(testName, expctedErrorCodes.Contains(DBTypeValidator.Name), projectConfigErrorMessages.DBTypeCodeErrorMessage, nameof(projectConfigErrorMessages.DBTypeCodeErrorMessage));
            AssertErrorMessage(testName, expctedErrorCodes.Contains(DBNameValidator.Name), projectConfigErrorMessages.DBNameErrorMessage, nameof(projectConfigErrorMessages.DBNameErrorMessage));
            //AssertErrorMessage(testName, expctedErrorCodes.Contains(DBBackupFolderValidator.Name), projectConfigErrorMessages.BackupFolderPathErrorMessage, nameof(projectConfigErrorMessages.BackupFolderPathErrorMessage));
            AssertErrorMessage(testName, expctedErrorCodes.Contains(DeliveryArtifactFolderPathValidator.Name), projectConfigErrorMessages.DeliveryArtifactFolderPathErrorMessage, nameof(projectConfigErrorMessages.DeliveryArtifactFolderPathErrorMessage));
            AssertErrorMessage(testName, expctedErrorCodes.Contains(DeployArtifactFolderPathValidator.Name), projectConfigErrorMessages.DeployArtifactFolderPathErrorMessage, nameof(projectConfigErrorMessages.DeployArtifactFolderPathErrorMessage));
            AssertErrorMessage(testName, expctedErrorCodes.Contains(DevScriptsBaseFolderPathValidator.Name), projectConfigErrorMessages.DevScriptsBaseFolderPathErrorMessage, nameof(projectConfigErrorMessages.DevScriptsBaseFolderPathErrorMessage));

            if (expectError)
            {
                _notificationsViewModelAsserts.AssertNotificationsViewModelError(testName, notificationsViewModelData, CoreTextResources.ProjectConfigValidation);
            }
            else
            {
                _notificationsViewModelAsserts.AssertNotificationsViewModelCompleteSuccessfully(testName, notificationsViewModelData);
            }
        }
 public void AssertError(string testName, NotificationsViewModelData notificationsViewModelData, EditProjectControls editProjectControls, ProjectConfigErrorMessages projectConfigErrorMessages, string errorCode)
 {
     AssertError(testName, notificationsViewModelData, editProjectControls, projectConfigErrorMessages, new List <string>()
     {
         errorCode
     });
 }