// Code generated by mockery. DO NOT EDIT.

//go:build custom3 && (!windows || !darwin || !freebsd)

package mocks

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

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

type IfaceWithCustomBuildTagInComment_Expecter struct {
	mock *mock.Mock
}

func (_m *IfaceWithCustomBuildTagInComment) EXPECT() *IfaceWithCustomBuildTagInComment_Expecter {
	return &IfaceWithCustomBuildTagInComment_Expecter{mock: &_m.Mock}
}

// Custom2 provides a mock function with no fields
func (_m *IfaceWithCustomBuildTagInComment) Custom2() {
	_m.Called()
}

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

// Custom2 is a helper method to define mock.On call
func (_e *IfaceWithCustomBuildTagInComment_Expecter) Custom2() *IfaceWithCustomBuildTagInComment_Custom2_Call {
	return &IfaceWithCustomBuildTagInComment_Custom2_Call{Call: _e.mock.On("Custom2")}
}

func (_c *IfaceWithCustomBuildTagInComment_Custom2_Call) Run(run func()) *IfaceWithCustomBuildTagInComment_Custom2_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run()
	})
	return _c
}

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

func (_c *IfaceWithCustomBuildTagInComment_Custom2_Call) RunAndReturn(run func()) *IfaceWithCustomBuildTagInComment_Custom2_Call {
	_c.Run(run)
	return _c
}

// Sprintf provides a mock function with given fields: format, a
func (_m *IfaceWithCustomBuildTagInComment) Sprintf(format string, a ...interface{}) string {
	var _ca []interface{}
	_ca = append(_ca, format)
	_ca = append(_ca, a...)
	ret := _m.Called(_ca...)

	if len(ret) == 0 {
		panic("no return value specified for Sprintf")
	}

	var r0 string
	if rf, ok := ret.Get(0).(func(string, ...interface{}) string); ok {
		r0 = rf(format, a...)
	} else {
		r0 = ret.Get(0).(string)
	}

	return r0
}

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

// Sprintf is a helper method to define mock.On call
//   - format string
//   - a ...interface{}
func (_e *IfaceWithCustomBuildTagInComment_Expecter) Sprintf(format interface{}, a ...interface{}) *IfaceWithCustomBuildTagInComment_Sprintf_Call {
	return &IfaceWithCustomBuildTagInComment_Sprintf_Call{Call: _e.mock.On("Sprintf",
		append([]interface{}{format}, a...)...)}
}

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

func (_c *IfaceWithCustomBuildTagInComment_Sprintf_Call) Return(_a0 string) *IfaceWithCustomBuildTagInComment_Sprintf_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *IfaceWithCustomBuildTagInComment_Sprintf_Call) RunAndReturn(run func(string, ...interface{}) string) *IfaceWithCustomBuildTagInComment_Sprintf_Call {
	_c.Call.Return(run)
	return _c
}

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

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

	return mock
}
