// Code generated by mockery; DO NOT EDIT. // github.com/vektra/mockery // template: testify package mocks import ( "github.com/bnema/gordon/internal/boundaries/out" mock "github.com/stretchr/testify/mock" ) // NewMockAttachmentConfigProvider creates a new instance of MockAttachmentConfigProvider. 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 NewMockAttachmentConfigProvider(t interface { mock.TestingT Cleanup(func()) }) *MockAttachmentConfigProvider { mock := &MockAttachmentConfigProvider{} mock.Mock.Test(t) t.Cleanup(func() { mock.AssertExpectations(t) }) return mock } // MockAttachmentConfigProvider is an autogenerated mock type for the AttachmentConfigProvider type type MockAttachmentConfigProvider struct { mock.Mock } type MockAttachmentConfigProvider_Expecter struct { mock *mock.Mock } func (_m *MockAttachmentConfigProvider) EXPECT() *MockAttachmentConfigProvider_Expecter { return &MockAttachmentConfigProvider_Expecter{mock: &_m.Mock} } // GetAttachmentConfig provides a mock function for the type MockAttachmentConfigProvider func (_mock *MockAttachmentConfigProvider) GetAttachmentConfig() out.AttachmentConfigSnapshot { ret := _mock.Called() if len(ret) == 0 { panic("no return value specified for GetAttachmentConfig") } var r0 out.AttachmentConfigSnapshot if returnFunc, ok := ret.Get(0).(func() out.AttachmentConfigSnapshot); ok { r0 = returnFunc() } else { r0 = ret.Get(0).(out.AttachmentConfigSnapshot) } return r0 } // MockAttachmentConfigProvider_GetAttachmentConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAttachmentConfig' type MockAttachmentConfigProvider_GetAttachmentConfig_Call struct { *mock.Call } // GetAttachmentConfig is a helper method to define mock.On call func (_e *MockAttachmentConfigProvider_Expecter) GetAttachmentConfig() *MockAttachmentConfigProvider_GetAttachmentConfig_Call { return &MockAttachmentConfigProvider_GetAttachmentConfig_Call{Call: _e.mock.On("GetAttachmentConfig")} } func (_c *MockAttachmentConfigProvider_GetAttachmentConfig_Call) Run(run func()) *MockAttachmentConfigProvider_GetAttachmentConfig_Call { _c.Call.Run(func(args mock.Arguments) { run() }) return _c } func (_c *MockAttachmentConfigProvider_GetAttachmentConfig_Call) Return(attachmentConfigSnapshot out.AttachmentConfigSnapshot) *MockAttachmentConfigProvider_GetAttachmentConfig_Call { _c.Call.Return(attachmentConfigSnapshot) return _c } func (_c *MockAttachmentConfigProvider_GetAttachmentConfig_Call) RunAndReturn(run func() out.AttachmentConfigSnapshot) *MockAttachmentConfigProvider_GetAttachmentConfig_Call { _c.Call.Return(run) return _c } // GetNetworkGroups provides a mock function for the type MockAttachmentConfigProvider func (_mock *MockAttachmentConfigProvider) GetNetworkGroups() map[string][]string { ret := _mock.Called() if len(ret) == 0 { panic("no return value specified for GetNetworkGroups") } var r0 map[string][]string if returnFunc, ok := ret.Get(0).(func() map[string][]string); ok { r0 = returnFunc() } else { if ret.Get(0) != nil { r0 = ret.Get(0).(map[string][]string) } } return r0 } // MockAttachmentConfigProvider_GetNetworkGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNetworkGroups' type MockAttachmentConfigProvider_GetNetworkGroups_Call struct { *mock.Call } // GetNetworkGroups is a helper method to define mock.On call func (_e *MockAttachmentConfigProvider_Expecter) GetNetworkGroups() *MockAttachmentConfigProvider_GetNetworkGroups_Call { return &MockAttachmentConfigProvider_GetNetworkGroups_Call{Call: _e.mock.On("GetNetworkGroups")} } func (_c *MockAttachmentConfigProvider_GetNetworkGroups_Call) Run(run func()) *MockAttachmentConfigProvider_GetNetworkGroups_Call { _c.Call.Run(func(args mock.Arguments) { run() }) return _c } func (_c *MockAttachmentConfigProvider_GetNetworkGroups_Call) Return(stringToStrings map[string][]string) *MockAttachmentConfigProvider_GetNetworkGroups_Call { _c.Call.Return(stringToStrings) return _c } func (_c *MockAttachmentConfigProvider_GetNetworkGroups_Call) RunAndReturn(run func() map[string][]string) *MockAttachmentConfigProvider_GetNetworkGroups_Call { _c.Call.Return(run) return _c }