// Code generated by mockery v1.0.0. DO NOT EDIT.

package mocks

import (
	context "context"

	validation "code.justin.tv/eventbus/controlplane/infrastructure/validation"
	mock "github.com/stretchr/testify/mock"
)

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

// Attributes provides a mock function with given fields:
func (_m *Item) Attributes() []*validation.ItemAttribute {
	ret := _m.Called()

	var r0 []*validation.ItemAttribute
	if rf, ok := ret.Get(0).(func() []*validation.ItemAttribute); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]*validation.ItemAttribute)
		}
	}

	return r0
}

// ID provides a mock function with given fields:
func (_m *Item) ID() string {
	ret := _m.Called()

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

	return r0
}

// Type provides a mock function with given fields:
func (_m *Item) Type() string {
	ret := _m.Called()

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

	return r0
}

// Validate provides a mock function with given fields: _a0
func (_m *Item) Validate(_a0 context.Context) (*validation.Report, error) {
	ret := _m.Called(_a0)

	var r0 *validation.Report
	if rf, ok := ret.Get(0).(func(context.Context) *validation.Report); ok {
		r0 = rf(_a0)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*validation.Report)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(context.Context) error); ok {
		r1 = rf(_a0)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
