-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathmock_interfaces.go
57 lines (48 loc) · 1.86 KB
/
mock_interfaces.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
51
52
53
54
55
56
57
// Code generated by MockGen. DO NOT EDIT.
// Source: interfaces.go
//
// Generated by this command:
//
// mockgen -source=interfaces.go -package=pool -destination=mock_interfaces.go
//
// Package pool is a generated GoMock package.
package pool
import (
context "context"
reflect "reflect"
account "github.com/lightninglabs/pool/account"
poolrpc "github.com/lightninglabs/pool/poolrpc"
gomock "go.uber.org/mock/gomock"
)
// MockMarshaler is a mock of Marshaler interface.
type MockMarshaler struct {
ctrl *gomock.Controller
recorder *MockMarshalerMockRecorder
}
// MockMarshalerMockRecorder is the mock recorder for MockMarshaler.
type MockMarshalerMockRecorder struct {
mock *MockMarshaler
}
// NewMockMarshaler creates a new mock instance.
func NewMockMarshaler(ctrl *gomock.Controller) *MockMarshaler {
mock := &MockMarshaler{ctrl: ctrl}
mock.recorder = &MockMarshalerMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockMarshaler) EXPECT() *MockMarshalerMockRecorder {
return m.recorder
}
// MarshallAccountsWithAvailableBalance mocks base method.
func (m *MockMarshaler) MarshallAccountsWithAvailableBalance(ctx context.Context, accounts []*account.Account) ([]*poolrpc.Account, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MarshallAccountsWithAvailableBalance", ctx, accounts)
ret0, _ := ret[0].([]*poolrpc.Account)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// MarshallAccountsWithAvailableBalance indicates an expected call of MarshallAccountsWithAvailableBalance.
func (mr *MockMarshalerMockRecorder) MarshallAccountsWithAvailableBalance(ctx, accounts any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MarshallAccountsWithAvailableBalance", reflect.TypeOf((*MockMarshaler)(nil).MarshallAccountsWithAvailableBalance), ctx, accounts)
}