public override IBusTestScenario Build() { IEndpointFactory endpointFactory = BuildEndpointFactory(); var scenario = new BusTestScenario(endpointFactory); _configurator.ChangeSettings(x => { x.EndpointCache = scenario.EndpointCache; }); _configurator.EnableMessageTracing(); scenario.Bus = _configurator.CreateServiceBus(); return(scenario); }
public virtual IBusTestScenario Build() { var scenario = new BusTestScenario(Timeout, _configurator.Build()); return(scenario); }
protected BusTestInstance(BusTestScenario scenario, IList<TestAction> actions) { _scenario = scenario; _actions = actions; }
public virtual IBusTestScenario Build() { var scenario = new BusTestScenario(Timeout, _configurator.Build()); return scenario; }