Path: blob/main/agent/planexec/plannermocks_test.go
3434 views
// Code generated by MockGen. DO NOT EDIT.1// Source: github.com/kardolus/chatgpt-cli/agent/planexec (interfaces: Planner)23// Package planexec_test is a generated GoMock package.4package planexec_test56import (7context "context"8reflect "reflect"910gomock "github.com/golang/mock/gomock"11types "github.com/kardolus/chatgpt-cli/agent/types"12)1314// MockPlanner is a mock of Planner interface.15type MockPlanner struct {16ctrl *gomock.Controller17recorder *MockPlannerMockRecorder18}1920// MockPlannerMockRecorder is the mock recorder for MockPlanner.21type MockPlannerMockRecorder struct {22mock *MockPlanner23}2425// NewMockPlanner creates a new mock instance.26func NewMockPlanner(ctrl *gomock.Controller) *MockPlanner {27mock := &MockPlanner{ctrl: ctrl}28mock.recorder = &MockPlannerMockRecorder{mock}29return mock30}3132// EXPECT returns an object that allows the caller to indicate expected use.33func (m *MockPlanner) EXPECT() *MockPlannerMockRecorder {34return m.recorder35}3637// Plan mocks base method.38func (m *MockPlanner) Plan(arg0 context.Context, arg1 string) (types.Plan, error) {39m.ctrl.T.Helper()40ret := m.ctrl.Call(m, "Plan", arg0, arg1)41ret0, _ := ret[0].(types.Plan)42ret1, _ := ret[1].(error)43return ret0, ret144}4546// Plan indicates an expected call of Plan.47func (mr *MockPlannerMockRecorder) Plan(arg0, arg1 interface{}) *gomock.Call {48mr.mock.ctrl.T.Helper()49return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Plan", reflect.TypeOf((*MockPlanner)(nil).Plan), arg0, arg1)50}515253