package react_test
import (
context "context"
reflect "reflect"
gomock "github.com/golang/mock/gomock"
types "github.com/kardolus/chatgpt-cli/agent/types"
)
type MockRunner struct {
ctrl *gomock.Controller
recorder *MockRunnerMockRecorder
}
type MockRunnerMockRecorder struct {
mock *MockRunner
}
func NewMockRunner(ctrl *gomock.Controller) *MockRunner {
mock := &MockRunner{ctrl: ctrl}
mock.recorder = &MockRunnerMockRecorder{mock}
return mock
}
func (m *MockRunner) EXPECT() *MockRunnerMockRecorder {
return m.recorder
}
func (m *MockRunner) RunStep(arg0 context.Context, arg1 types.Config, arg2 types.Step) (types.StepResult, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "RunStep", arg0, arg1, arg2)
ret0, _ := ret[0].(types.StepResult)
ret1, _ := ret[1].(error)
return ret0, ret1
}
func (mr *MockRunnerMockRecorder) RunStep(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RunStep", reflect.TypeOf((*MockRunner)(nil).RunStep), arg0, arg1, arg2)
}