// Code generated by MockGen. DO NOT EDIT.
// Source: git.canopsis.net/canopsis/canopsis-community/community/go-engines-community/lib/security/provider (interfaces: LdapDialer)
//
// Generated by this command:
//
//	mockgen -destination=../../../mocks/lib/security/provider/provider.go git.canopsis.net/canopsis/canopsis-community/community/go-engines-community/lib/security/provider LdapDialer
//

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

import (
	reflect "reflect"

	security "git.canopsis.net/canopsis/canopsis-community/community/go-engines-community/lib/security"
	ldap "github.com/go-ldap/ldap/v3"
	gomock "go.uber.org/mock/gomock"
)

// MockLdapDialer is a mock of LdapDialer interface.
type MockLdapDialer struct {
	ctrl     *gomock.Controller
	recorder *MockLdapDialerMockRecorder
	isgomock struct{}
}

// MockLdapDialerMockRecorder is the mock recorder for MockLdapDialer.
type MockLdapDialerMockRecorder struct {
	mock *MockLdapDialer
}

// NewMockLdapDialer creates a new mock instance.
func NewMockLdapDialer(ctrl *gomock.Controller) *MockLdapDialer {
	mock := &MockLdapDialer{ctrl: ctrl}
	mock.recorder = &MockLdapDialerMockRecorder{mock}
	return mock
}

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

// DialURL mocks base method.
func (m *MockLdapDialer) DialURL(config security.LdapConfig) (ldap.Client, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DialURL", config)
	ret0, _ := ret[0].(ldap.Client)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// DialURL indicates an expected call of DialURL.
func (mr *MockLdapDialerMockRecorder) DialURL(config any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DialURL", reflect.TypeOf((*MockLdapDialer)(nil).DialURL), config)
}
