elinuxhenrik | 63a42ca | 2021-09-06 22:16:24 +0200 | [diff] [blame] | 1 | // Code generated by mockery v2.9.3. DO NOT EDIT. |
| 2 | |
elinuxhenrik | 6f5d3d1 | 2021-12-23 16:36:31 +0100 | [diff] [blame] | 3 | package jobshandler |
elinuxhenrik | 63a42ca | 2021-09-06 22:16:24 +0200 | [diff] [blame] | 4 | |
| 5 | import ( |
| 6 | mock "github.com/stretchr/testify/mock" |
elinuxhenrik | fe61c61 | 2021-09-24 15:08:47 +0200 | [diff] [blame] | 7 | jobs "oransc.org/nonrtric/dmaapmediatorproducer/internal/jobs" |
elinuxhenrik | 63a42ca | 2021-09-06 22:16:24 +0200 | [diff] [blame] | 8 | ) |
| 9 | |
elinuxhenrik | 6f5d3d1 | 2021-12-23 16:36:31 +0100 | [diff] [blame] | 10 | // JobsHandler is an autogenerated mock type for the JobsHandler type |
| 11 | type JobsHandler struct { |
elinuxhenrik | 63a42ca | 2021-09-06 22:16:24 +0200 | [diff] [blame] | 12 | mock.Mock |
| 13 | } |
| 14 | |
| 15 | // AddJob provides a mock function with given fields: _a0 |
elinuxhenrik | 6f5d3d1 | 2021-12-23 16:36:31 +0100 | [diff] [blame] | 16 | func (_m *JobsHandler) AddJobFromRESTCall(_a0 jobs.JobInfo) error { |
elinuxhenrik | 63a42ca | 2021-09-06 22:16:24 +0200 | [diff] [blame] | 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 | } |
elinuxhenrik | fe61c61 | 2021-09-24 15:08:47 +0200 | [diff] [blame] | 28 | |
| 29 | // DeleteJob provides a mock function with given fields: jobId |
elinuxhenrik | 6f5d3d1 | 2021-12-23 16:36:31 +0100 | [diff] [blame] | 30 | func (_m *JobsHandler) DeleteJobFromRESTCall(jobId string) { |
elinuxhenrik | fe61c61 | 2021-09-24 15:08:47 +0200 | [diff] [blame] | 31 | _m.Called(jobId) |
| 32 | } |