private async Task <ActivityPayload> GetActivityResult()
        {
            _gridActivity = New <Send_Email_Via_SendGrid_v1>();
            var activityContext = FixtureData.TestActivityContext1();
            await _gridActivity.Configure(activityContext);

            return(activityContext.ActivityPayload);
        }
        public async Task Run_Shouldnt_Throw_Exception()
        {
            // Arrange
            ICrateManager Crate = ObjectFactory.GetInstance <ICrateManager>();

            _gridActivity = New <Send_Email_Via_SendGrid_v1>();
            var activityContext  = FixtureData.TestActivityContext1();
            var executionContext = FixtureData.CrateExecutionContextForSendEmailViaSendGridConfiguration;
            //updating controls
            var standardControls = activityPayload.CrateStorage.CrateContentsOfType <StandardConfigurationControlsCM>().FirstOrDefault();

            foreach (TextSource control in standardControls.Controls)
            {
                control.ValueSource = "specific";
                control.Value       = (control.Name == "EmailAddress") ? "*****@*****.**" : "test";
            }
            activityContext.ActivityPayload.CrateStorage.Add(TerminalActivityBase.ConfigurationControlsLabel, standardControls);

            // Act
            await _gridActivity.Run(activityContext, executionContext);
        }