public void A_consumer_is_being_tested() { _test = TestFactory.ForConsumer <Testsumer>() .New(x => { x.UseConsumerFactory(() => new Testsumer()); x.Send(new A()); }); _test.Execute(); }
public void A_consumer_is_being_tested() { _test = TestFactory.ForConsumer <Testsumer>() .New(x => { x.UseConsumerFactory(() => new Testsumer()); x.Send(new A(), (scenario, context) => context.ResponseAddress = scenario.Bus.Address); }); _test.Execute(); }