View definition

(*SyncProducer).ExpectSendMessageAndSucceed

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

Description

ExpectSendMessageAndSucceed sets an expectation on the mock producer that SendMessage will be called. The mock producer will handle the message as if it produced successfully, i.e. by returning a valid partition, and offset, and a nil error.

ExpectSendMessageAndSucceed is referenced in 5 repositories

github.com/Shopify/sarama gopkg.in/shopify/sarama.v1

...