// Code generated by mockery; DO NOT EDIT.
// github.com/vektra/mockery
// template: testify

package watchers

import (
	mock "github.com/stretchr/testify/mock"
)

// newMockLogger creates a new instance of mockLogger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
func newMockLogger(t interface {
	mock.TestingT
	Cleanup(func())
}) *mockLogger {
	mock := &mockLogger{}
	mock.Mock.Test(t)

	t.Cleanup(func() { mock.AssertExpectations(t) })

	return mock
}

// mockLogger is an autogenerated mock type for the logger type
type mockLogger struct {
	mock.Mock
}

type mockLogger_Expecter struct {
	mock *mock.Mock
}

func (_m *mockLogger) EXPECT() *mockLogger_Expecter {
	return &mockLogger_Expecter{mock: &_m.Mock}
}

// Debugln provides a mock function for the type mockLogger
func (_mock *mockLogger) Debugln(args ...any) {
	var _ca []interface{}
	_ca = append(_ca, args...)
	_mock.Called(_ca...)
	return
}

// mockLogger_Debugln_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Debugln'
type mockLogger_Debugln_Call struct {
	*mock.Call
}

// Debugln is a helper method to define mock.On call
//   - args ...any
func (_e *mockLogger_Expecter) Debugln(args ...interface{}) *mockLogger_Debugln_Call {
	return &mockLogger_Debugln_Call{Call: _e.mock.On("Debugln",
		append([]interface{}{}, args...)...)}
}

func (_c *mockLogger_Debugln_Call) Run(run func(args ...any)) *mockLogger_Debugln_Call {
	_c.Call.Run(func(args mock.Arguments) {
		var arg0 []any
		variadicArgs := make([]any, len(args)-0)
		for i, a := range args[0:] {
			if a != nil {
				variadicArgs[i] = a.(any)
			}
		}
		arg0 = variadicArgs
		run(
			arg0...,
		)
	})
	return _c
}

func (_c *mockLogger_Debugln_Call) Return() *mockLogger_Debugln_Call {
	_c.Call.Return()
	return _c
}

func (_c *mockLogger_Debugln_Call) RunAndReturn(run func(args ...any)) *mockLogger_Debugln_Call {
	_c.Run(run)
	return _c
}
