func (_m *Plugin) Init(ctx context.Context, prefix config.Prefix, callbacks identity.Callbacks) error {
	ret := _m.Called(ctx, prefix, callbacks)
	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, config.Prefix, identity.Callbacks) error); ok {
		r0 = rf(ctx, prefix, callbacks)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
Init provides a mock function with given fields: ctx, prefix, callbacks
package identitymocks
import (
	context "context"
	config "github.com/hyperledger/firefly/internal/config"
	identity "github.com/hyperledger/firefly/pkg/identity"
	mock "github.com/stretchr/testify/mock"
)
type Plugin struct {
	mock.Mock
}
func (_m *Plugin) Capabilities() *identity.Capabilities {
	ret := _m.Called()
	var r0 *identity.Capabilities
	if rf, ok := ret.Get(0).(func() *identity.Capabilities); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*identity.Capabilities)
		}
	}
	return r0
}