| 1 | // Code generated by mockery; DO NOT EDIT. |
| 2 | // github.com/vektra/mockery |
| 3 | // template: testify |
| 4 | |
| 5 | package mocksscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/ |
| 6 | |
| 7 | import ( |
| 8 | "github.com/nicholas-fedor/shoutrrr/pkg/formatscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/" |
| 9 | mockscip-go gomod github.com/stretchr/testify v1.12.1 `github.com/stretchr/testify/mock`/ "github.com/stretchr/testify/mockscip-go gomod github.com/stretchr/testify v1.12.1 `github.com/stretchr/testify/mock`/" |
| 10 | ) |
| 11 | |
| 12 | // NewMockTreeRenderer creates a new instance of MockTreeRenderer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. |
| 13 | // The first argument is typically a *testing.T value. |
| 14 | func NewMockTreeRendererscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/NewMockTreeRenderer().(t interface { |
| 15 | mockscip-go gomod github.com/stretchr/testify v1.12.1 `github.com/stretchr/testify/mock`/.TestingTscip-go gomod github.com/stretchr/testify v1.12.1 `github.com/stretchr/testify/mock`/TestingT# |
| 16 | Cleanup(func()) |
| 17 | }) *MockTreeRendererscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer# { |
| 18 | mock := &MockTreeRendererscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer#{} |
| 19 | mock.Mockscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer#Mock..Testscip-go gomod github.com/stretchr/testify v1.12.1 `github.com/stretchr/testify/mock`/Mock#Test().(t) |
| 20 | |
| 21 | t.Cleanup(func() { mock.AssertExpectationsscip-go gomod github.com/stretchr/testify v1.12.1 `github.com/stretchr/testify/mock`/Mock#AssertExpectations().(t) }) |
| 22 | |
| 23 | return mock |
| 24 | } |
| 25 | |
| 26 | // MockTreeRenderer is an autogenerated mock type for the TreeRenderer type |
| 27 | type MockTreeRendererscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer# struct { |
| 28 | mockscip-go gomod github.com/stretchr/testify v1.12.1 `github.com/stretchr/testify/mock`/.Mockscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer#Mock. |
| 29 | } |
| 30 | |
| 31 | type MockTreeRenderer_Expecterscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_Expecter# struct { |
| 32 | mockscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_Expecter#mock. *mockscip-go gomod github.com/stretchr/testify v1.12.1 `github.com/stretchr/testify/mock`/.Mockscip-go gomod github.com/stretchr/testify v1.12.1 `github.com/stretchr/testify/mock`/Mock# |
| 33 | } |
| 34 | |
| 35 | func (_m *MockTreeRendererscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer#) EXPECTscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer#EXPECT().() *MockTreeRenderer_Expecterscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_Expecter# { |
| 36 | return &MockTreeRenderer_Expecterscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_Expecter#{mockscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_Expecter#mock.: &_m.Mockscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer#Mock.} |
| 37 | } |
| 38 | |
| 39 | // RenderTree provides a mock function for the type MockTreeRenderer |
| 40 | func (_mock *MockTreeRendererscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer#) RenderTreescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer#RenderTree().(root *formatscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/.ContainerNodescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/ContainerNode#, scheme string) string { |
| 41 | ret := _mock.Calledscip-go gomod github.com/stretchr/testify v1.12.1 `github.com/stretchr/testify/mock`/Mock#Called().(root, scheme) |
| 42 | |
| 43 | if len(ret) == 0 { |
| 44 | panic("no return value specified for RenderTree") |
| 45 | } |
| 46 | |
| 47 | var r0 string |
| 48 | if returnFunc, ok := ret.Getscip-go gomod github.com/stretchr/testify v1.12.1 `github.com/stretchr/testify/mock`/Arguments#Get().(0).(func(*formatscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/.ContainerNodescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/ContainerNode#, string) string); ok { |
| 49 | r0 = returnFunc(root, scheme) |
| 50 | } else { |
| 51 | r0 = ret.Getscip-go gomod github.com/stretchr/testify v1.12.1 `github.com/stretchr/testify/mock`/Arguments#Get().(0).(string) |
| 52 | } |
| 53 | return r0 |
| 54 | } |
| 55 | |
| 56 | // MockTreeRenderer_RenderTree_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RenderTree' |
| 57 | type MockTreeRenderer_RenderTree_Callscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_RenderTree_Call# struct { |
| 58 | *mockscip-go gomod github.com/stretchr/testify v1.12.1 `github.com/stretchr/testify/mock`/.Callscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_RenderTree_Call#Call. |
| 59 | } |
| 60 | |
| 61 | // RenderTree is a helper method to define mock.On call |
| 62 | // - root *format.ContainerNode |
| 63 | // - scheme string |
| 64 | func (_e *MockTreeRenderer_Expecterscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_Expecter#) RenderTreescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_Expecter#RenderTree().(root any, scheme any) *MockTreeRenderer_RenderTree_Callscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_RenderTree_Call# { |
| 65 | return &MockTreeRenderer_RenderTree_Callscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_RenderTree_Call#{Callscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_RenderTree_Call#Call.: _e.mockscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_Expecter#mock..Onscip-go gomod github.com/stretchr/testify v1.12.1 `github.com/stretchr/testify/mock`/Mock#On().("RenderTree", root, scheme)} |
| 66 | } |
| 67 | |
| 68 | func (_c *MockTreeRenderer_RenderTree_Callscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_RenderTree_Call#) Runscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_RenderTree_Call#Run().(run func(root *formatscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/.ContainerNodescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/ContainerNode#, scheme string)) *MockTreeRenderer_RenderTree_Callscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_RenderTree_Call# { |
| 69 | _c.Callscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_RenderTree_Call#Call..Runscip-go gomod github.com/stretchr/testify v1.12.1 `github.com/stretchr/testify/mock`/Call#Run().(func(args mockscip-go gomod github.com/stretchr/testify v1.12.1 `github.com/stretchr/testify/mock`/.Argumentsscip-go gomod github.com/stretchr/testify v1.12.1 `github.com/stretchr/testify/mock`/Arguments#) { |
| 70 | var arg0 *formatscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/.ContainerNodescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/ContainerNode# |
| 71 | if args[0] != nil { |
| 72 | arg0 = args[0].(*formatscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/.ContainerNodescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/ContainerNode#) |
| 73 | } |
| 74 | var arg1 string |
| 75 | if args[1] != nil { |
| 76 | arg1 = args[1].(string) |
| 77 | } |
| 78 | run( |
| 79 | arg0, |
| 80 | arg1, |
| 81 | ) |
| 82 | }) |
| 83 | return _c |
| 84 | } |
| 85 | |
| 86 | func (_c *MockTreeRenderer_RenderTree_Callscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_RenderTree_Call#) Returnscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_RenderTree_Call#Return().(s string) *MockTreeRenderer_RenderTree_Callscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_RenderTree_Call# { |
| 87 | _c.Callscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_RenderTree_Call#Call..Returnscip-go gomod github.com/stretchr/testify v1.12.1 `github.com/stretchr/testify/mock`/Call#Return().(s) |
| 88 | return _c |
| 89 | } |
| 90 | |
| 91 | func (_c *MockTreeRenderer_RenderTree_Callscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_RenderTree_Call#) RunAndReturnscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_RenderTree_Call#RunAndReturn().(run func(root *formatscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/.ContainerNodescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format`/ContainerNode#, scheme string) string) *MockTreeRenderer_RenderTree_Callscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_RenderTree_Call# { |
| 92 | _c.Callscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/format/mocks`/MockTreeRenderer_RenderTree_Call#Call..Returnscip-go gomod github.com/stretchr/testify v1.12.1 `github.com/stretchr/testify/mock`/Call#Return().(run) |
| 93 | return _c |
| 94 | } |