litmus/pkg/exec/exec_mock.go

47 lines
1.3 KiB
Go

// Code generated by MockGen. DO NOT EDIT.
// Source: exec.go
// Package exec is a generated GoMock package.
package exec
import (
gomock "github.com/golang/mock/gomock"
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
}
// Output mocks base method
func (m *MockExecutor) Output(args []string) (string, error) {
ret := m.ctrl.Call(m, "Output", args)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Output indicates an expected call of Output
func (mr *MockExecutorMockRecorder) Output(args interface{}) *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Output", reflect.TypeOf((*MockExecutor)(nil).Output), args)
}