public static HandlerTestFactory <ILocalRemoteTestScenario, TMessage> InLocalRemoteBusScenario <TScenario, TMessage>( this IHandlerTestFactory <TScenario, TMessage> factory) where TScenario : ITestScenario where TMessage : class { return(new HandlerTestFactory <ILocalRemoteTestScenario, TMessage>(LoopbackLocalRemote)); }
public static HandlerTestFactory <IBusTestScenario, TMessage> InSingleBusScenario <TScenario, TMessage>( this IHandlerTestFactory <TScenario, TMessage> factory) where TScenario : ITestScenario where TMessage : class { return(new HandlerTestFactory <IBusTestScenario, TMessage>(LoopbackBus)); }