-
Notifications
You must be signed in to change notification settings - Fork 161
/
mocks.go
49 lines (41 loc) · 1.71 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
47
48
49
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/cloudfoundry/bosh-cli/state/job (interfaces: DependencyCompiler)
// Package mocks is a generated GoMock package.
package mocks
import (
job "github.com/cloudfoundry/bosh-cli/release/job"
job0 "github.com/cloudfoundry/bosh-cli/state/job"
ui "github.com/cloudfoundry/bosh-cli/ui"
gomock "github.com/golang/mock/gomock"
reflect "reflect"
)
// MockDependencyCompiler is a mock of DependencyCompiler interface
type MockDependencyCompiler struct {
ctrl *gomock.Controller
recorder *MockDependencyCompilerMockRecorder
}
// MockDependencyCompilerMockRecorder is the mock recorder for MockDependencyCompiler
type MockDependencyCompilerMockRecorder struct {
mock *MockDependencyCompiler
}
// NewMockDependencyCompiler creates a new mock instance
func NewMockDependencyCompiler(ctrl *gomock.Controller) *MockDependencyCompiler {
mock := &MockDependencyCompiler{ctrl: ctrl}
mock.recorder = &MockDependencyCompilerMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockDependencyCompiler) EXPECT() *MockDependencyCompilerMockRecorder {
return m.recorder
}
// Compile mocks base method
func (m *MockDependencyCompiler) Compile(arg0 []job.Job, arg1 ui.Stage) ([]job0.CompiledPackageRef, error) {
ret := m.ctrl.Call(m, "Compile", arg0, arg1)
ret0, _ := ret[0].([]job0.CompiledPackageRef)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Compile indicates an expected call of Compile
func (mr *MockDependencyCompilerMockRecorder) Compile(arg0, arg1 interface{}) *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Compile", reflect.TypeOf((*MockDependencyCompiler)(nil).Compile), arg0, arg1)
}