-
Notifications
You must be signed in to change notification settings - Fork 649
/
mock_versions.go
53 lines (43 loc) · 1.53 KB
/
mock_versions.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
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/ava-labs/avalanchego/vms/platformvm/state (interfaces: Versions)
// Package state is a generated GoMock package.
package state
import (
reflect "reflect"
ids "github.com/ava-labs/avalanchego/ids"
gomock "github.com/golang/mock/gomock"
)
// MockVersions is a mock of Versions interface.
type MockVersions struct {
ctrl *gomock.Controller
recorder *MockVersionsMockRecorder
}
// MockVersionsMockRecorder is the mock recorder for MockVersions.
type MockVersionsMockRecorder struct {
mock *MockVersions
}
// NewMockVersions creates a new mock instance.
func NewMockVersions(ctrl *gomock.Controller) *MockVersions {
mock := &MockVersions{ctrl: ctrl}
mock.recorder = &MockVersionsMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockVersions) EXPECT() *MockVersionsMockRecorder {
return m.recorder
}
// GetState mocks base method.
func (m *MockVersions) GetState(arg0 ids.ID) (Chain, bool) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetState", arg0)
ret0, _ := ret[0].(Chain)
ret1, _ := ret[1].(bool)
return ret0, ret1
}
// GetState indicates an expected call of GetState.
func (mr *MockVersionsMockRecorder) GetState(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetState", reflect.TypeOf((*MockVersions)(nil).GetState), arg0)
}