// Code generated by MockGen. DO NOT EDIT.
// Source: profiler_runner.go
//
// Generated by this command:
//
//	mockgen -typed -source profiler_runner.go -destination mock_profiler_runner_test.go -package agent ProfilerRunner
//

// Package agent is a generated GoMock package.
package agent

import (
	reflect "reflect"

	gomock "go.uber.org/mock/gomock"
)

// MockProfilerRunner is a mock of ProfilerRunner interface.
type MockProfilerRunner struct {
	ctrl     *gomock.Controller
	recorder *MockProfilerRunnerMockRecorder
	isgomock struct{}
}

// MockProfilerRunnerMockRecorder is the mock recorder for MockProfilerRunner.
type MockProfilerRunnerMockRecorder struct {
	mock *MockProfilerRunner
}

// NewMockProfilerRunner creates a new mock instance.
func NewMockProfilerRunner(ctrl *gomock.Controller) *MockProfilerRunner {
	mock := &MockProfilerRunner{ctrl: ctrl}
	mock.recorder = &MockProfilerRunnerMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockProfilerRunner) EXPECT() *MockProfilerRunnerMockRecorder {
	return m.recorder
}

// Start mocks base method.
func (m *MockProfilerRunner) Start(cfg ProfilerCfg) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Start", cfg)
	ret0, _ := ret[0].(error)
	return ret0
}

// Start indicates an expected call of Start.
func (mr *MockProfilerRunnerMockRecorder) Start(cfg any) *MockProfilerRunnerStartCall {
	mr.mock.ctrl.T.Helper()
	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Start", reflect.TypeOf((*MockProfilerRunner)(nil).Start), cfg)
	return &MockProfilerRunnerStartCall{Call: call}
}

// MockProfilerRunnerStartCall wrap *gomock.Call
type MockProfilerRunnerStartCall struct {
	*gomock.Call
}

// Return rewrite *gomock.Call.Return
func (c *MockProfilerRunnerStartCall) Return(arg0 error) *MockProfilerRunnerStartCall {
	c.Call = c.Call.Return(arg0)
	return c
}

// Do rewrite *gomock.Call.Do
func (c *MockProfilerRunnerStartCall) Do(f func(ProfilerCfg) error) *MockProfilerRunnerStartCall {
	c.Call = c.Call.Do(f)
	return c
}

// DoAndReturn rewrite *gomock.Call.DoAndReturn
func (c *MockProfilerRunnerStartCall) DoAndReturn(f func(ProfilerCfg) error) *MockProfilerRunnerStartCall {
	c.Call = c.Call.DoAndReturn(f)
	return c
}
