1// Code generated by MockGen. DO NOT EDIT. 2// Source: github.com/cloudfoundry/bosh-cli/state/job (interfaces: DependencyCompiler) 3 4// Package mocks is a generated GoMock package. 5package mocks 6 7import ( 8 job "github.com/cloudfoundry/bosh-cli/release/job" 9 job0 "github.com/cloudfoundry/bosh-cli/state/job" 10 ui "github.com/cloudfoundry/bosh-cli/ui" 11 gomock "github.com/golang/mock/gomock" 12 reflect "reflect" 13) 14 15// MockDependencyCompiler is a mock of DependencyCompiler interface 16type MockDependencyCompiler struct { 17 ctrl *gomock.Controller 18 recorder *MockDependencyCompilerMockRecorder 19} 20 21// MockDependencyCompilerMockRecorder is the mock recorder for MockDependencyCompiler 22type MockDependencyCompilerMockRecorder struct { 23 mock *MockDependencyCompiler 24} 25 26// NewMockDependencyCompiler creates a new mock instance 27func NewMockDependencyCompiler(ctrl *gomock.Controller) *MockDependencyCompiler { 28 mock := &MockDependencyCompiler{ctrl: ctrl} 29 mock.recorder = &MockDependencyCompilerMockRecorder{mock} 30 return mock 31} 32 33// EXPECT returns an object that allows the caller to indicate expected use 34func (m *MockDependencyCompiler) EXPECT() *MockDependencyCompilerMockRecorder { 35 return m.recorder 36} 37 38// Compile mocks base method 39func (m *MockDependencyCompiler) Compile(arg0 []job.Job, arg1 ui.Stage) ([]job0.CompiledPackageRef, error) { 40 ret := m.ctrl.Call(m, "Compile", arg0, arg1) 41 ret0, _ := ret[0].([]job0.CompiledPackageRef) 42 ret1, _ := ret[1].(error) 43 return ret0, ret1 44} 45 46// Compile indicates an expected call of Compile 47func (mr *MockDependencyCompilerMockRecorder) Compile(arg0, arg1 interface{}) *gomock.Call { 48 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Compile", reflect.TypeOf((*MockDependencyCompiler)(nil).Compile), arg0, arg1) 49} 50