public void ExecuteTest()
        {
            var subject      = new GenerateScriptOperation(SampleParams);
            var taskMetadata = new TaskMetadata();

            using (var sqlTask = new SqlTask(taskMetadata, DummyOpFunction, DummyOpFunction))
            {
                subject.SqlTask      = sqlTask;
                sqlTask.ScriptAdded += ValidateScriptAdded;
                subject.Execute(TaskExecutionMode.Script);
            }
        }
        public void GenerateScriptTest()
        {
            var scriptText = GenerateScriptOperation.GenerateScript(SampleParams, CancellationToken.None);

            Assert.Equal(SampleScript, scriptText);
        }