/
mock_biz.go
70 lines (58 loc) · 2.04 KB
/
mock_biz.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
58
59
60
61
62
63
64
65
66
67
68
69
70
// Copyright 2024 Lingfei Kong <colin404@foxmail.com>. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file. The original repo for
// this file is https://github.com/superproj/onex.
//
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/superproj/onex/internal/gateway/biz (interfaces: IBiz)
// Package biz is a generated GoMock package.
package biz
import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
miner "github.com/superproj/onex/internal/gateway/biz/miner"
minerset "github.com/superproj/onex/internal/gateway/biz/minerset"
)
// MockIBiz is a mock of IBiz interface.
type MockIBiz struct {
ctrl *gomock.Controller
recorder *MockIBizMockRecorder
}
// MockIBizMockRecorder is the mock recorder for MockIBiz.
type MockIBizMockRecorder struct {
mock *MockIBiz
}
// NewMockIBiz creates a new mock instance.
func NewMockIBiz(ctrl *gomock.Controller) *MockIBiz {
mock := &MockIBiz{ctrl: ctrl}
mock.recorder = &MockIBizMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockIBiz) EXPECT() *MockIBizMockRecorder {
return m.recorder
}
// MinerSets mocks base method.
func (m *MockIBiz) MinerSets() minerset.MinerSetBiz {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MinerSets")
ret0, _ := ret[0].(minerset.MinerSetBiz)
return ret0
}
// MinerSets indicates an expected call of MinerSets.
func (mr *MockIBizMockRecorder) MinerSets() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MinerSets", reflect.TypeOf((*MockIBiz)(nil).MinerSets))
}
// Miners mocks base method.
func (m *MockIBiz) Miners() miner.MinerBiz {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Miners")
ret0, _ := ret[0].(miner.MinerBiz)
return ret0
}
// Miners indicates an expected call of Miners.
func (mr *MockIBizMockRecorder) Miners() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Miners", reflect.TypeOf((*MockIBiz)(nil).Miners))
}