elinuxhenrik | 63a42ca | 2021-09-06 22:16:24 +0200 | [diff] [blame^] | 1 | // Code generated by mockery v2.9.3. DO NOT EDIT. |
| 2 | |
| 3 | package mocks |
| 4 | |
| 5 | import ( |
| 6 | mock "github.com/stretchr/testify/mock" |
| 7 | jobs "oransc.org/nonrtric/dmaapmediatorproducer/internal/jobs" |
| 8 | ) |
| 9 | |
| 10 | // JobHandler is an autogenerated mock type for the JobHandler type |
| 11 | type JobHandler struct { |
| 12 | mock.Mock |
| 13 | } |
| 14 | |
| 15 | // AddJob provides a mock function with given fields: _a0 |
| 16 | func (_m *JobHandler) AddJob(_a0 jobs.JobInfo) error { |
| 17 | ret := _m.Called(_a0) |
| 18 | |
| 19 | var r0 error |
| 20 | if rf, ok := ret.Get(0).(func(jobs.JobInfo) error); ok { |
| 21 | r0 = rf(_a0) |
| 22 | } else { |
| 23 | r0 = ret.Error(0) |
| 24 | } |
| 25 | |
| 26 | return r0 |
| 27 | } |