/
mocks.go
46 lines (38 loc) · 1.76 KB
/
mocks.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
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/cloudfoundry/bosh-cli/config (interfaces: LegacyDeploymentStateMigrator)
// Package mocks is a generated GoMock package.
package mocks
import (
gomock "github.com/golang/mock/gomock"
reflect "reflect"
)
// MockLegacyDeploymentStateMigrator is a mock of LegacyDeploymentStateMigrator interface
type MockLegacyDeploymentStateMigrator struct {
ctrl *gomock.Controller
recorder *MockLegacyDeploymentStateMigratorMockRecorder
}
// MockLegacyDeploymentStateMigratorMockRecorder is the mock recorder for MockLegacyDeploymentStateMigrator
type MockLegacyDeploymentStateMigratorMockRecorder struct {
mock *MockLegacyDeploymentStateMigrator
}
// NewMockLegacyDeploymentStateMigrator creates a new mock instance
func NewMockLegacyDeploymentStateMigrator(ctrl *gomock.Controller) *MockLegacyDeploymentStateMigrator {
mock := &MockLegacyDeploymentStateMigrator{ctrl: ctrl}
mock.recorder = &MockLegacyDeploymentStateMigratorMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockLegacyDeploymentStateMigrator) EXPECT() *MockLegacyDeploymentStateMigratorMockRecorder {
return m.recorder
}
// MigrateIfExists mocks base method
func (m *MockLegacyDeploymentStateMigrator) MigrateIfExists(arg0 string) (bool, error) {
ret := m.ctrl.Call(m, "MigrateIfExists", arg0)
ret0, _ := ret[0].(bool)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// MigrateIfExists indicates an expected call of MigrateIfExists
func (mr *MockLegacyDeploymentStateMigratorMockRecorder) MigrateIfExists(arg0 interface{}) *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MigrateIfExists", reflect.TypeOf((*MockLegacyDeploymentStateMigrator)(nil).MigrateIfExists), arg0)
}