MCPcopy Create free account
hub / github.com/appbaseio/abc / Mock

Struct Mock

importer/function/testing.go:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8var _ Function = &Mock{}
9
10type Mock struct {
11 ApplyCount int
12 Err error
13}
14
15func (m *Mock) Apply(msg message.Msg) (message.Msg, error) {
16 m.ApplyCount++

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected