| // Code generated by mockery v0.0.0-dev. DO NOT EDIT. |
| |
| package mocks |
| |
| import ( |
| testing "testing" |
| |
| mock "github.com/stretchr/testify/mock" |
| ) |
| |
| // ChecksManager is an autogenerated mock type for the ChecksManager type |
| type ChecksManager struct { |
| mock.Mock |
| } |
| |
| // PerformChecks provides a mock function with given fields: packageRequestURL |
| func (_m *ChecksManager) PerformChecks(packageRequestURL string) (bool, string, error) { |
| ret := _m.Called(packageRequestURL) |
| |
| var r0 bool |
| if rf, ok := ret.Get(0).(func(string) bool); ok { |
| r0 = rf(packageRequestURL) |
| } else { |
| r0 = ret.Get(0).(bool) |
| } |
| |
| var r1 string |
| if rf, ok := ret.Get(1).(func(string) string); ok { |
| r1 = rf(packageRequestURL) |
| } else { |
| r1 = ret.Get(1).(string) |
| } |
| |
| var r2 error |
| if rf, ok := ret.Get(2).(func(string) error); ok { |
| r2 = rf(packageRequestURL) |
| } else { |
| r2 = ret.Error(2) |
| } |
| |
| return r0, r1, r2 |
| } |
| |
| // NewChecksManager creates a new instance of ChecksManager. It also registers a cleanup function to assert the mocks expectations. |
| func NewChecksManager(t testing.TB) *ChecksManager { |
| mock := &ChecksManager{} |
| |
| t.Cleanup(func() { mock.AssertExpectations(t) }) |
| |
| return mock |
| } |