// Code generated by MockGen. DO NOT EDIT. // Source: server/executor.go // Package mocks is a generated GoMock package. package mocks import ( gomock "github.com/golang/mock/gomock" server "github.com/hootsuite/atlantis/server" reflect "reflect" ) // MockExecutor is a mock of Executor interface type MockExecutor struct { ctrl *gomock.Controller recorder *MockExecutorMockRecorder } // MockExecutorMockRecorder is the mock recorder for MockExecutor type MockExecutorMockRecorder struct { mock *MockExecutor } // NewMockExecutor creates a new mock instance func NewMockExecutor(ctrl *gomock.Controller) *MockExecutor { mock := &MockExecutor{ctrl: ctrl} mock.recorder = &MockExecutorMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use func (m *MockExecutor) EXPECT() *MockExecutorMockRecorder { return m.recorder } // Execute mocks base method func (m *MockExecutor) Execute(ctx *server.CommandContext) { m.ctrl.Call(m, "Execute", ctx) } // Execute indicates an expected call of Execute func (mr *MockExecutorMockRecorder) Execute(ctx interface{}) *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Execute", reflect.TypeOf((*MockExecutor)(nil).Execute), ctx) }