/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

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

package model

import (
	time "time"

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

	values "github.com/apache/plc4x/plc4go/pkg/api/values"
)

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

type MockPlcSubscriptionTag_Expecter struct {
	mock *mock.Mock
}

func (_m *MockPlcSubscriptionTag) EXPECT() *MockPlcSubscriptionTag_Expecter {
	return &MockPlcSubscriptionTag_Expecter{mock: &_m.Mock}
}

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

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

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

	return r0
}

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

// GetAddressString is a helper method to define mock.On call
func (_e *MockPlcSubscriptionTag_Expecter) GetAddressString() *MockPlcSubscriptionTag_GetAddressString_Call {
	return &MockPlcSubscriptionTag_GetAddressString_Call{Call: _e.mock.On("GetAddressString")}
}

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

func (_c *MockPlcSubscriptionTag_GetAddressString_Call) Return(_a0 string) *MockPlcSubscriptionTag_GetAddressString_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockPlcSubscriptionTag_GetAddressString_Call) RunAndReturn(run func() string) *MockPlcSubscriptionTag_GetAddressString_Call {
	_c.Call.Return(run)
	return _c
}

// GetArrayInfo provides a mock function with given fields:
func (_m *MockPlcSubscriptionTag) GetArrayInfo() []ArrayInfo {
	ret := _m.Called()

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

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

	return r0
}

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

// GetArrayInfo is a helper method to define mock.On call
func (_e *MockPlcSubscriptionTag_Expecter) GetArrayInfo() *MockPlcSubscriptionTag_GetArrayInfo_Call {
	return &MockPlcSubscriptionTag_GetArrayInfo_Call{Call: _e.mock.On("GetArrayInfo")}
}

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

func (_c *MockPlcSubscriptionTag_GetArrayInfo_Call) Return(_a0 []ArrayInfo) *MockPlcSubscriptionTag_GetArrayInfo_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockPlcSubscriptionTag_GetArrayInfo_Call) RunAndReturn(run func() []ArrayInfo) *MockPlcSubscriptionTag_GetArrayInfo_Call {
	_c.Call.Return(run)
	return _c
}

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

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

	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
}

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

// GetDuration is a helper method to define mock.On call
func (_e *MockPlcSubscriptionTag_Expecter) GetDuration() *MockPlcSubscriptionTag_GetDuration_Call {
	return &MockPlcSubscriptionTag_GetDuration_Call{Call: _e.mock.On("GetDuration")}
}

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

func (_c *MockPlcSubscriptionTag_GetDuration_Call) Return(_a0 time.Duration) *MockPlcSubscriptionTag_GetDuration_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockPlcSubscriptionTag_GetDuration_Call) RunAndReturn(run func() time.Duration) *MockPlcSubscriptionTag_GetDuration_Call {
	_c.Call.Return(run)
	return _c
}

// GetPlcSubscriptionType provides a mock function with given fields:
func (_m *MockPlcSubscriptionTag) GetPlcSubscriptionType() PlcSubscriptionType {
	ret := _m.Called()

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

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

	return r0
}

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

// GetPlcSubscriptionType is a helper method to define mock.On call
func (_e *MockPlcSubscriptionTag_Expecter) GetPlcSubscriptionType() *MockPlcSubscriptionTag_GetPlcSubscriptionType_Call {
	return &MockPlcSubscriptionTag_GetPlcSubscriptionType_Call{Call: _e.mock.On("GetPlcSubscriptionType")}
}

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

func (_c *MockPlcSubscriptionTag_GetPlcSubscriptionType_Call) Return(_a0 PlcSubscriptionType) *MockPlcSubscriptionTag_GetPlcSubscriptionType_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockPlcSubscriptionTag_GetPlcSubscriptionType_Call) RunAndReturn(run func() PlcSubscriptionType) *MockPlcSubscriptionTag_GetPlcSubscriptionType_Call {
	_c.Call.Return(run)
	return _c
}

// GetValueType provides a mock function with given fields:
func (_m *MockPlcSubscriptionTag) GetValueType() values.PlcValueType {
	ret := _m.Called()

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

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

	return r0
}

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

// GetValueType is a helper method to define mock.On call
func (_e *MockPlcSubscriptionTag_Expecter) GetValueType() *MockPlcSubscriptionTag_GetValueType_Call {
	return &MockPlcSubscriptionTag_GetValueType_Call{Call: _e.mock.On("GetValueType")}
}

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

func (_c *MockPlcSubscriptionTag_GetValueType_Call) Return(_a0 values.PlcValueType) *MockPlcSubscriptionTag_GetValueType_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockPlcSubscriptionTag_GetValueType_Call) RunAndReturn(run func() values.PlcValueType) *MockPlcSubscriptionTag_GetValueType_Call {
	_c.Call.Return(run)
	return _c
}

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

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

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

	return r0
}

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

// String is a helper method to define mock.On call
func (_e *MockPlcSubscriptionTag_Expecter) String() *MockPlcSubscriptionTag_String_Call {
	return &MockPlcSubscriptionTag_String_Call{Call: _e.mock.On("String")}
}

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

func (_c *MockPlcSubscriptionTag_String_Call) Return(_a0 string) *MockPlcSubscriptionTag_String_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockPlcSubscriptionTag_String_Call) RunAndReturn(run func() string) *MockPlcSubscriptionTag_String_Call {
	_c.Call.Return(run)
	return _c
}

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

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

	return mock
}
