Exemple #1
0
        public void Should_be_able_to_create_a_custom_pipeline_step_and_use_as_a_string()
        {
            const string customStepId = "custom";
            var          pipelineStep = WellKnownStep.Create(customStepId);

            Assert.AreEqual(customStepId, (string)pipelineStep, "couldn't convert pipeline step into a string");
        }
Exemple #2
0
 public void Should_not_allow_null_for_a_custom_pipeline_step()
 {
     WellKnownStep.Create(null);
 }
Exemple #3
0
 public void Should_not_allow_empty_string_for_a_custom_pipeline_step()
 {
     WellKnownStep.Create(string.Empty);
 }