Download provides a mock function with given fields: ctx, w, digest
(ctx context.Context, w io.Writer, digest string)
| 31 | |
| 32 | // Download provides a mock function with given fields: ctx, w, digest |
| 33 | func (_m *Downloader) Download(ctx context.Context, w io.Writer, digest string) error { |
| 34 | ret := _m.Called(ctx, w, digest) |
| 35 | |
| 36 | var r0 error |
| 37 | if rf, ok := ret.Get(0).(func(context.Context, io.Writer, string) error); ok { |
| 38 | r0 = rf(ctx, w, digest) |
| 39 | } else { |
| 40 | r0 = ret.Error(0) |
| 41 | } |
| 42 | |
| 43 | return r0 |
| 44 | } |
| 45 | |
| 46 | type mockConstructorTestingTNewDownloader interface { |
| 47 | mock.TestingT |
no test coverage detected