func (_m *ProviderService) Find() ([]*domain.Provider, error) {
	ret := _m.Called()
	var r0 []*domain.Provider
	if rf, ok := ret.Get(0).(func() []*domain.Provider); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]*domain.Provider)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func() error); ok {
		r1 = rf()
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
Find provides a mock function with given fields:
package mocks
import (
	domain "github.com/odpf/guardian/domain"
	mock "github.com/stretchr/testify/mock"
)
type ProviderService struct {
	mock.Mock
}
func (_m *ProviderService) Create(_a0 *domain.Provider) error {
	ret := _m.Called(_a0)
	var r0 error
	if rf, ok := ret.Get(0).(func(*domain.Provider) error); ok {
		r0 = rf(_a0)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *ProviderService) FetchResources() error {
	ret := _m.Called()
	var r0 error
	if rf, ok := ret.Get(0).(func() error); ok {
		r0 = rf()
	} else {
		r0 = ret.Error(0)
	}
	return r0
}