35 lines
741 B
Go
35 lines
741 B
Go
// Code generated by mockery v0.0.0-dev. DO NOT EDIT.
|
|
|
|
package resource
|
|
|
|
import mock "github.com/stretchr/testify/mock"
|
|
import "github.com/snyk/driftctl/enumeration/resource"
|
|
|
|
// MockSupplier is an autogenerated mock type for the Supplier type
|
|
type MockSupplier struct {
|
|
mock.Mock
|
|
}
|
|
|
|
// Resources provides a mock function with given fields:
|
|
func (_m *MockSupplier) Resources() ([]*resource.Resource, error) {
|
|
ret := _m.Called()
|
|
|
|
var r0 []*resource.Resource
|
|
if rf, ok := ret.Get(0).(func() []*resource.Resource); ok {
|
|
r0 = rf()
|
|
} else {
|
|
if ret.Get(0) != nil {
|
|
r0 = ret.Get(0).([]*resource.Resource)
|
|
}
|
|
}
|
|
|
|
var r1 error
|
|
if rf, ok := ret.Get(1).(func() error); ok {
|
|
r1 = rf()
|
|
} else {
|
|
r1 = ret.Error(1)
|
|
}
|
|
|
|
return r0, r1
|
|
}
|