public void CreateConsumer_InitializesConsumer()
        {
            //Arrange
            FromConfigKafkaGatewayFactory factory = new FromConfigKafkaGatewayFactory(configuration);

            //Act
            IConsumer <Ignore, string> consumer = factory.CreateConsumer();

            //Assert
            consumer.Should().NotBeNull();
        }
        public void CreateProducer_InitializesProducer()
        {
            //Arrange
            FromConfigKafkaGatewayFactory factory = new FromConfigKafkaGatewayFactory(configuration);

            //Act
            IProducer <string, string> producer = factory.CreateProducer();

            //Assert
            producer.Should().NotBeNull();
        }