// Code generated by mockery v2.14.0. DO NOT EDIT.

package mocks

import (
	plugin "code.fbi.h-da.de/danet/gosdn/controller/interfaces/plugin"
	uuid "github.com/google/uuid"
	mock "github.com/stretchr/testify/mock"
)

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

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

	var r0 uuid.UUID
	if rf, ok := ret.Get(0).(func() uuid.UUID); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(uuid.UUID)
		}
	}

	return r0
}

// Manifest provides a mock function with given fields:
func (_m *Plugin) Manifest() *plugin.Manifest {
	ret := _m.Called()

	var r0 *plugin.Manifest
	if rf, ok := ret.Get(0).(func() *plugin.Manifest); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*plugin.Manifest)
		}
	}

	return r0
}

// Path provides a mock function with given fields:
func (_m *Plugin) Path() 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
}

// State provides a mock function with given fields:
func (_m *Plugin) State() plugin.State {
	ret := _m.Called()

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

	return r0
}

// Update provides a mock function with given fields:
func (_m *Plugin) Update() error {
	ret := _m.Called()

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

	return r0
}

type mockConstructorTestingTNewPlugin interface {
	mock.TestingT
	Cleanup(func())
}

// NewPlugin creates a new instance of Plugin. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func NewPlugin(t mockConstructorTestingTNewPlugin) *Plugin {
	mock := &Plugin{}
	mock.Mock.Test(t)

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

	return mock
}