View definition

(*AsyncProducer).ExpectInputAndSucceed

Defined in github.com/Shopify/sarama/mocks/async_producer.go

Description

ExpectInputAndSucceed sets an expectation on the mock producer that a message will be provided on the input channel. The mock producer will handle the message as if it is produced successfully, i.e. it will make it available on the Successes channel if the Producer.Return.Successes setting is set to true.