// Code generated by MockGen. DO NOT EDIT.
// Source: gitlab.com/gitlab-org/api/client-go/v2 (interfaces: SecurityScanProfilesServiceInterface)
//
// Generated by this command:
//
//	mockgen -typed -destination=security_scan_profiles_mock.go -write_package_comment=false -package=testing gitlab.com/gitlab-org/api/client-go/v2 SecurityScanProfilesServiceInterface
//

package testing

import (
	reflect "reflect"

	gitlab "gitlab.com/gitlab-org/api/client-go/v2"
	gomock "go.uber.org/mock/gomock"
)

// MockSecurityScanProfilesServiceInterface is a mock of SecurityScanProfilesServiceInterface interface.
type MockSecurityScanProfilesServiceInterface struct {
	ctrl     *gomock.Controller
	recorder *MockSecurityScanProfilesServiceInterfaceMockRecorder
	isgomock struct{}
}

// MockSecurityScanProfilesServiceInterfaceMockRecorder is the mock recorder for MockSecurityScanProfilesServiceInterface.
type MockSecurityScanProfilesServiceInterfaceMockRecorder struct {
	mock *MockSecurityScanProfilesServiceInterface
}

// NewMockSecurityScanProfilesServiceInterface creates a new mock instance.
func NewMockSecurityScanProfilesServiceInterface(ctrl *gomock.Controller) *MockSecurityScanProfilesServiceInterface {
	mock := &MockSecurityScanProfilesServiceInterface{ctrl: ctrl}
	mock.recorder = &MockSecurityScanProfilesServiceInterfaceMockRecorder{mock}
	return mock
}

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

// AttachSecurityScanProfile mocks base method.
func (m *MockSecurityScanProfilesServiceInterface) AttachSecurityScanProfile(opt *gitlab.AttachSecurityScanProfileOptions, options ...gitlab.RequestOptionFunc) (*gitlab.Response, error) {
	m.ctrl.T.Helper()
	varargs := []any{opt}
	for _, a := range options {
		varargs = append(varargs, a)
	}
	ret := m.ctrl.Call(m, "AttachSecurityScanProfile", varargs...)
	ret0, _ := ret[0].(*gitlab.Response)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// AttachSecurityScanProfile indicates an expected call of AttachSecurityScanProfile.
func (mr *MockSecurityScanProfilesServiceInterfaceMockRecorder) AttachSecurityScanProfile(opt any, options ...any) *MockSecurityScanProfilesServiceInterfaceAttachSecurityScanProfileCall {
	mr.mock.ctrl.T.Helper()
	varargs := append([]any{opt}, options...)
	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AttachSecurityScanProfile", reflect.TypeOf((*MockSecurityScanProfilesServiceInterface)(nil).AttachSecurityScanProfile), varargs...)
	return &MockSecurityScanProfilesServiceInterfaceAttachSecurityScanProfileCall{Call: call}
}

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

// Return rewrite *gomock.Call.Return
func (c *MockSecurityScanProfilesServiceInterfaceAttachSecurityScanProfileCall) Return(arg0 *gitlab.Response, arg1 error) *MockSecurityScanProfilesServiceInterfaceAttachSecurityScanProfileCall {
	c.Call = c.Call.Return(arg0, arg1)
	return c
}

// Do rewrite *gomock.Call.Do
func (c *MockSecurityScanProfilesServiceInterfaceAttachSecurityScanProfileCall) Do(f func(*gitlab.AttachSecurityScanProfileOptions, ...gitlab.RequestOptionFunc) (*gitlab.Response, error)) *MockSecurityScanProfilesServiceInterfaceAttachSecurityScanProfileCall {
	c.Call = c.Call.Do(f)
	return c
}

// DoAndReturn rewrite *gomock.Call.DoAndReturn
func (c *MockSecurityScanProfilesServiceInterfaceAttachSecurityScanProfileCall) DoAndReturn(f func(*gitlab.AttachSecurityScanProfileOptions, ...gitlab.RequestOptionFunc) (*gitlab.Response, error)) *MockSecurityScanProfilesServiceInterfaceAttachSecurityScanProfileCall {
	c.Call = c.Call.DoAndReturn(f)
	return c
}

// DetachSecurityScanProfile mocks base method.
func (m *MockSecurityScanProfilesServiceInterface) DetachSecurityScanProfile(opt *gitlab.DetachSecurityScanProfileOptions, options ...gitlab.RequestOptionFunc) (*gitlab.Response, error) {
	m.ctrl.T.Helper()
	varargs := []any{opt}
	for _, a := range options {
		varargs = append(varargs, a)
	}
	ret := m.ctrl.Call(m, "DetachSecurityScanProfile", varargs...)
	ret0, _ := ret[0].(*gitlab.Response)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// DetachSecurityScanProfile indicates an expected call of DetachSecurityScanProfile.
func (mr *MockSecurityScanProfilesServiceInterfaceMockRecorder) DetachSecurityScanProfile(opt any, options ...any) *MockSecurityScanProfilesServiceInterfaceDetachSecurityScanProfileCall {
	mr.mock.ctrl.T.Helper()
	varargs := append([]any{opt}, options...)
	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DetachSecurityScanProfile", reflect.TypeOf((*MockSecurityScanProfilesServiceInterface)(nil).DetachSecurityScanProfile), varargs...)
	return &MockSecurityScanProfilesServiceInterfaceDetachSecurityScanProfileCall{Call: call}
}

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

// Return rewrite *gomock.Call.Return
func (c *MockSecurityScanProfilesServiceInterfaceDetachSecurityScanProfileCall) Return(arg0 *gitlab.Response, arg1 error) *MockSecurityScanProfilesServiceInterfaceDetachSecurityScanProfileCall {
	c.Call = c.Call.Return(arg0, arg1)
	return c
}

// Do rewrite *gomock.Call.Do
func (c *MockSecurityScanProfilesServiceInterfaceDetachSecurityScanProfileCall) Do(f func(*gitlab.DetachSecurityScanProfileOptions, ...gitlab.RequestOptionFunc) (*gitlab.Response, error)) *MockSecurityScanProfilesServiceInterfaceDetachSecurityScanProfileCall {
	c.Call = c.Call.Do(f)
	return c
}

// DoAndReturn rewrite *gomock.Call.DoAndReturn
func (c *MockSecurityScanProfilesServiceInterfaceDetachSecurityScanProfileCall) DoAndReturn(f func(*gitlab.DetachSecurityScanProfileOptions, ...gitlab.RequestOptionFunc) (*gitlab.Response, error)) *MockSecurityScanProfilesServiceInterfaceDetachSecurityScanProfileCall {
	c.Call = c.Call.DoAndReturn(f)
	return c
}

// ListProjectScanProfileStatuses mocks base method.
func (m *MockSecurityScanProfilesServiceInterface) ListProjectScanProfileStatuses(projectFullPath string, options ...gitlab.RequestOptionFunc) ([]gitlab.ScanProfileStatus, *gitlab.Response, error) {
	m.ctrl.T.Helper()
	varargs := []any{projectFullPath}
	for _, a := range options {
		varargs = append(varargs, a)
	}
	ret := m.ctrl.Call(m, "ListProjectScanProfileStatuses", varargs...)
	ret0, _ := ret[0].([]gitlab.ScanProfileStatus)
	ret1, _ := ret[1].(*gitlab.Response)
	ret2, _ := ret[2].(error)
	return ret0, ret1, ret2
}

// ListProjectScanProfileStatuses indicates an expected call of ListProjectScanProfileStatuses.
func (mr *MockSecurityScanProfilesServiceInterfaceMockRecorder) ListProjectScanProfileStatuses(projectFullPath any, options ...any) *MockSecurityScanProfilesServiceInterfaceListProjectScanProfileStatusesCall {
	mr.mock.ctrl.T.Helper()
	varargs := append([]any{projectFullPath}, options...)
	call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListProjectScanProfileStatuses", reflect.TypeOf((*MockSecurityScanProfilesServiceInterface)(nil).ListProjectScanProfileStatuses), varargs...)
	return &MockSecurityScanProfilesServiceInterfaceListProjectScanProfileStatusesCall{Call: call}
}

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

// Return rewrite *gomock.Call.Return
func (c *MockSecurityScanProfilesServiceInterfaceListProjectScanProfileStatusesCall) Return(arg0 []gitlab.ScanProfileStatus, arg1 *gitlab.Response, arg2 error) *MockSecurityScanProfilesServiceInterfaceListProjectScanProfileStatusesCall {
	c.Call = c.Call.Return(arg0, arg1, arg2)
	return c
}

// Do rewrite *gomock.Call.Do
func (c *MockSecurityScanProfilesServiceInterfaceListProjectScanProfileStatusesCall) Do(f func(string, ...gitlab.RequestOptionFunc) ([]gitlab.ScanProfileStatus, *gitlab.Response, error)) *MockSecurityScanProfilesServiceInterfaceListProjectScanProfileStatusesCall {
	c.Call = c.Call.Do(f)
	return c
}

// DoAndReturn rewrite *gomock.Call.DoAndReturn
func (c *MockSecurityScanProfilesServiceInterfaceListProjectScanProfileStatusesCall) DoAndReturn(f func(string, ...gitlab.RequestOptionFunc) ([]gitlab.ScanProfileStatus, *gitlab.Response, error)) *MockSecurityScanProfilesServiceInterfaceListProjectScanProfileStatusesCall {
	c.Call = c.Call.DoAndReturn(f)
	return c
}
