// Code generated by mockery v2.8.0. DO NOT EDIT.

package common

import (
	resource "github.com/snyk/driftctl/pkg/resource"
	mock "github.com/stretchr/testify/mock"
)

// MockDetailsFetcher is an autogenerated mock type for the DetailsFetcher type
type MockDetailsFetcher struct {
	mock.Mock
}

// ReadDetails provides a mock function with given fields: _a0
func (_m *MockDetailsFetcher) ReadDetails(_a0 *resource.Resource) (*resource.Resource, error) {
	ret := _m.Called(_a0)

	var r0 *resource.Resource
	if rf, ok := ret.Get(0).(func(*resource.Resource) *resource.Resource); ok {
		r0 = rf(_a0)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*resource.Resource)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(*resource.Resource) error); ok {
		r1 = rf(_a0)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
