// Code generated by mockery. DO NOT EDIT.

package type_alias_test

import (
	mock "github.com/stretchr/testify/mock"
	type_alias "github.com/vektra/mockery/v2/pkg/fixtures/type_alias"
	subpkg "github.com/vektra/mockery/v2/pkg/fixtures/type_alias/subpkg"
)

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

type Interface2WithUnresolvedAlias_Expecter struct {
	mock *mock.Mock
}

func (_m *Interface2WithUnresolvedAlias) EXPECT() *Interface2WithUnresolvedAlias_Expecter {
	return &Interface2WithUnresolvedAlias_Expecter{mock: &_m.Mock}
}

// F provides a mock function with given fields: _a0, _a1, _a2
func (_m *Interface2WithUnresolvedAlias) F(_a0 type_alias.Type, _a1 type_alias.S, _a2 subpkg.S) {
	_m.Called(_a0, _a1, _a2)
}

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

// F is a helper method to define mock.On call
//   - _a0 type_alias.Type
//   - _a1 type_alias.S
//   - _a2 subpkg.S
func (_e *Interface2WithUnresolvedAlias_Expecter) F(_a0 interface{}, _a1 interface{}, _a2 interface{}) *Interface2WithUnresolvedAlias_F_Call {
	return &Interface2WithUnresolvedAlias_F_Call{Call: _e.mock.On("F", _a0, _a1, _a2)}
}

func (_c *Interface2WithUnresolvedAlias_F_Call) Run(run func(_a0 type_alias.Type, _a1 type_alias.S, _a2 subpkg.S)) *Interface2WithUnresolvedAlias_F_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(type_alias.Type), args[1].(type_alias.S), args[2].(subpkg.S))
	})
	return _c
}

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

func (_c *Interface2WithUnresolvedAlias_F_Call) RunAndReturn(run func(type_alias.Type, type_alias.S, subpkg.S)) *Interface2WithUnresolvedAlias_F_Call {
	_c.Call.Return(run)
	return _c
}

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

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

	return mock
}
