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

package helpers

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

// NewMockRawLogger creates a new instance of MockRawLogger. 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 NewMockRawLogger(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockRawLogger {
	mock := &MockRawLogger{}
	mock.Mock.Test(t)

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

	return mock
}

// MockRawLogger is an autogenerated mock type for the RawLogger type
type MockRawLogger struct {
	mock.Mock
}

type MockRawLogger_Expecter struct {
	mock *mock.Mock
}

func (_m *MockRawLogger) EXPECT() *MockRawLogger_Expecter {
	return &MockRawLogger_Expecter{mock: &_m.Mock}
}

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

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

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

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

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

func (_c *MockRawLogger_SendRawLog_Call) RunAndReturn(run func(args ...interface{})) *MockRawLogger_SendRawLog_Call {
	_c.Run(run)
	return _c
}
