View definition

(*SyncProducer).ExpectSendMessageAndFail

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

Description

ExpectSendMessageAndFail sets an expectation on the mock producer that SendMessage will be called. The mock producer will handle the message as if it failed to produce successfully, i.e. by returning the provided error.

ExpectSendMessageAndFail is referenced in 5 repositories

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

...