public void ThrowExceptionWhenComponentAddedToInvalidStage() { ReceivePipelineWrapper pipeline = PipelineFactory.CreateEmptyReceivePipeline(); IBaseComponent partyResolution = new PartyRes(); pipeline.AddComponent(partyResolution, PipelineStage.PreAssemble); }
public void ThrowExceptionWhenCompponentAddedToNullStage() { ReceivePipelineWrapper pipeline = PipelineFactory.CreateEmptyReceivePipeline(); IBaseComponent partyResolution = new PartyRes(); pipeline.AddComponent(partyResolution, null); }