// Code generated by mockery. DO NOT EDIT.

package same_name_arg_and_type

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

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

type interfaceBMock_Expecter struct {
	mock *mock.Mock
}

func (_m *interfaceBMock) EXPECT() *interfaceBMock_Expecter {
	return &interfaceBMock_Expecter{mock: &_m.Mock}
}

// GetData provides a mock function with no fields
func (_m *interfaceBMock) GetData() int {
	ret := _m.Called()

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

	var r0 int
	if rf, ok := ret.Get(0).(func() int); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(int)
	}

	return r0
}

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

// GetData is a helper method to define mock.On call
func (_e *interfaceBMock_Expecter) GetData() *interfaceBMock_GetData_Call {
	return &interfaceBMock_GetData_Call{Call: _e.mock.On("GetData")}
}

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

func (_c *interfaceBMock_GetData_Call) Return(_a0 int) *interfaceBMock_GetData_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *interfaceBMock_GetData_Call) RunAndReturn(run func() int) *interfaceBMock_GetData_Call {
	_c.Call.Return(run)
	return _c
}

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

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

	return mock
}
