public void Can_run_default_simple_pipeline() { // Arrange var builder = pipelineService.PipelineContainer.AddCommandPipeline(); SetupCommandPipeline(builder); var cmd = new Ns02_SimpleTestCommand { Id = 5 }; // Act pipelineService.HandleCommand(cmd); // Assert Assert.Equal("result", cmd.Out); }
public void HandleTestCommand(Ns02_SimpleTestCommand command) { command.Out = "result"; }