-
Notifications
You must be signed in to change notification settings - Fork 175
/
dkg_controller_factory.go
38 lines (30 loc) · 1.04 KB
/
dkg_controller_factory.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Code generated by mockery v1.0.0. DO NOT EDIT.
package mock
import (
flow "github.com/onflow/flow-go/model/flow"
mock "github.com/stretchr/testify/mock"
module "github.com/onflow/flow-go/module"
)
// DKGControllerFactory is an autogenerated mock type for the DKGControllerFactory type
type DKGControllerFactory struct {
mock.Mock
}
// Create provides a mock function with given fields: dkgInstanceID, participants, seed
func (_m *DKGControllerFactory) Create(dkgInstanceID string, participants flow.IdentityList, seed []byte) (module.DKGController, error) {
ret := _m.Called(dkgInstanceID, participants, seed)
var r0 module.DKGController
if rf, ok := ret.Get(0).(func(string, flow.IdentityList, []byte) module.DKGController); ok {
r0 = rf(dkgInstanceID, participants, seed)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(module.DKGController)
}
}
var r1 error
if rf, ok := ret.Get(1).(func(string, flow.IdentityList, []byte) error); ok {
r1 = rf(dkgInstanceID, participants, seed)
} else {
r1 = ret.Error(1)
}
return r0, r1
}