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

package mocks

import (
	gnmi "github.com/openconfig/gnmi/proto/gnmi"
	mock "github.com/stretchr/testify/mock"

	networkelement "code.fbi.h-da.de/danet/gosdn/api/go/gosdn/networkelement"

	time "time"

	uuid "github.com/google/uuid"
)

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

// Age provides a mock function with given fields:
func (_m *Change) Age() time.Duration {
	ret := _m.Called()

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

	return r0
}

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

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

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

// Diff provides a mock function with given fields:
func (_m *Change) Diff() *gnmi.Notification {
	ret := _m.Called()

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

	return r0
}

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

// IntendedState provides a mock function with given fields:
func (_m *Change) IntendedState() []byte {
	ret := _m.Called()

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

	return r0
}

// PreviousState provides a mock function with given fields:
func (_m *Change) PreviousState() []byte {
	ret := _m.Called()

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

	return r0
}

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

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

	return r0
}

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

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

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

	return mock
}
