forked from scionproto/scion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
seg.go
50 lines (42 loc) · 1.42 KB
/
seg.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
39
40
41
42
43
44
45
46
47
48
49
50
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/scionproto/scion/go/lib/ctrl/seg (interfaces: Signer)
// Package mock_seg is a generated GoMock package.
package mock_seg
import (
gomock "github.com/golang/mock/gomock"
common "github.com/scionproto/scion/go/lib/common"
proto "github.com/scionproto/scion/go/proto"
reflect "reflect"
)
// MockSigner is a mock of Signer interface
type MockSigner struct {
ctrl *gomock.Controller
recorder *MockSignerMockRecorder
}
// MockSignerMockRecorder is the mock recorder for MockSigner
type MockSignerMockRecorder struct {
mock *MockSigner
}
// NewMockSigner creates a new mock instance
func NewMockSigner(ctrl *gomock.Controller) *MockSigner {
mock := &MockSigner{ctrl: ctrl}
mock.recorder = &MockSignerMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockSigner) EXPECT() *MockSignerMockRecorder {
return m.recorder
}
// Sign mocks base method
func (m *MockSigner) Sign(arg0 common.RawBytes) (*proto.SignS, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Sign", arg0)
ret0, _ := ret[0].(*proto.SignS)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Sign indicates an expected call of Sign
func (mr *MockSignerMockRecorder) Sign(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Sign", reflect.TypeOf((*MockSigner)(nil).Sign), arg0)
}