-
Notifications
You must be signed in to change notification settings - Fork 383
/
BalanceService.go
50 lines (41 loc) · 1.39 KB
/
BalanceService.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: balance.go
// Package mocks is a generated GoMock package.
package mocks
import (
reflect "reflect"
do "github.com/digitalocean/doctl/do"
gomock "go.uber.org/mock/gomock"
)
// MockBalanceService is a mock of BalanceService interface.
type MockBalanceService struct {
ctrl *gomock.Controller
recorder *MockBalanceServiceMockRecorder
}
// MockBalanceServiceMockRecorder is the mock recorder for MockBalanceService.
type MockBalanceServiceMockRecorder struct {
mock *MockBalanceService
}
// NewMockBalanceService creates a new mock instance.
func NewMockBalanceService(ctrl *gomock.Controller) *MockBalanceService {
mock := &MockBalanceService{ctrl: ctrl}
mock.recorder = &MockBalanceServiceMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockBalanceService) EXPECT() *MockBalanceServiceMockRecorder {
return m.recorder
}
// Get mocks base method.
func (m *MockBalanceService) Get() (*do.Balance, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Get")
ret0, _ := ret[0].(*do.Balance)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Get indicates an expected call of Get.
func (mr *MockBalanceServiceMockRecorder) Get() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockBalanceService)(nil).Get))
}