code: func (_m *Plugin) Init(dependencies ...endorsement.Dependency) error {
  	_va := make([]interface{}, len(dependencies))
  	for _i := range dependencies {
  		_va[_i] = dependencies[_i]
  	}
  	var _ca []interface{}
  	_ca = append(_ca, _va...)
  	ret := _m.Called(_ca...)
  
  	var r0 error
  	if rf, ok := ret.Get(0).(func(...endorsement.Dependency) error); ok {
  		r0 = rf(dependencies...)
  	} else {
  		r0 = ret.Error(0)
  	}
  
  	return r0
  }
docs: // Init provides a mock function with given fields: dependencies