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.ExecuteAsync(); }
public async Task Teardown() { await _test.DisposeAsync(); _test = null; }
public void Teardown() { _test.Dispose(); _test = null; }