public when_an_event_type_specific_pipeline_is_registered()
        {   
            publisher = new EventSpecificPipeline();

            adapter = new ManualPipelineAdapter()
                .Register(publisher);
        }
        public when_a_type_specific_pipeline_is_registered_but_another_event_type_is_published()
        {
            specific_publisher = new EventSpecificPipeline();

            adapter = new ManualPipelineAdapter()
                .Register(specific_publisher);
        }
Exemple #3
0
        public when_a_type_specific_pipeline_is_registered_but_another_event_type_is_published()
        {
            specific_publisher = new EventSpecificPipeline();

            adapter = new ManualPipelineAdapter()
                      .Register(specific_publisher);
        }
Exemple #4
0
        public when_an_event_type_specific_pipeline_is_registered()
        {
            publisher = new EventSpecificPipeline();

            adapter = new ManualPipelineAdapter()
                      .Register(publisher);
        }
        public when_a_type_agnostic_pipeline_and_type_specific_pipeline_is_registered()
        {
            generic_pipeline = new GenericPipeline();
            specific_pipeline = new EventSpecificPipeline();

            adapter = new ManualPipelineAdapter()
                .Register(generic_pipeline)
                .Register(specific_pipeline);
        }
        public when_a_type_agnostic_pipeline_and_type_specific_pipeline_is_registered()
        {
            generic_pipeline  = new GenericPipeline();
            specific_pipeline = new EventSpecificPipeline();

            adapter = new ManualPipelineAdapter()
                      .Register(generic_pipeline)
                      .Register(specific_pipeline);
        }
        public when_multiple_pipelines_are_registered()
        {
            generic_publisher_1 = new GenericPipeline();
            generic_publisher_2 = new GenericPipeline();
            specific_publisher_1 = new EventSpecificPipeline();
            specific_publisher_2 = new EventSpecificPipeline();

            adapter = new ManualPipelineAdapter()
                .Register(generic_publisher_1)
                .Register(specific_publisher_1)
                .Register(generic_publisher_2)
                .Register(specific_publisher_2);
        }
        public when_multiple_pipelines_are_registered()
        {
            generic_publisher_1  = new GenericPipeline();
            generic_publisher_2  = new GenericPipeline();
            specific_publisher_1 = new EventSpecificPipeline();
            specific_publisher_2 = new EventSpecificPipeline();

            adapter = new ManualPipelineAdapter()
                      .Register(generic_publisher_1)
                      .Register(specific_publisher_1)
                      .Register(generic_publisher_2)
                      .Register(specific_publisher_2);
        }
 public when_trying_to_register_a_null_pipeline_as_a_type_specific_pipeline()
 {
     specific_publisher = null;
 }
Exemple #10
0
 public when_trying_to_register_a_null_pipeline_as_a_type_specific_pipeline()
 {
     specific_publisher = null;
 }