public given_kafka_server(KafkaSetupContainerAsyncFixture fixture) { if (fixture == null) { throw new ArgumentNullException(nameof(fixture)); } _kafkaTestContextFactory = new KafkaTestContextFactory(fixture.KafkaContainerConfiguration.BootstrapServers); }
public given_kafka_server_and_message_router(KafkaSetupContainerAsyncFixture fixture, ITestOutputHelper testOutput) { if (fixture == null) { throw new ArgumentNullException(nameof(fixture)); } _testOutput = testOutput; _kafkaTestContextFactory = new KafkaTestContextFactory(fixture.KafkaContainerConfiguration.BootstrapServers); }