Sathish Sundararajan
07/21/2023, 8:58 AMerr := p.AddAsynchronousMessage().
Given("Event is received").
ExpectsToReceive("Event").
UsingPlugin(message.PluginConfig{
Plugin: "protobuf",
Version: "0.3.4",
}).
WithContents(protoMessage, "application/protobuf").
WithMetadata(headers).
ExecuteTest(t, func(m message.AsynchronousMessage) error {
return nil
})
p.AddAsynchronousMessage().Given("Event is received").ExpectsToReceive("Evenr").UsingPlugin((message.PluginConfig literal)).WithContents(protoMessage, "application/protobuf").WithMetadata undefined (type *v4.AsynchronousMessageWithPluginContents has no field or method WithMetadata)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Sathish Sundararajan
07/24/2023, 11:32 AMSathish Sundararajan
08/28/2023, 4:22 PM