// Code generated by mockery v1.0.0. DO NOT EDIT.

package backup

import (
	mock "github.com/stretchr/testify/mock"

	models "github.com/percona/pmm-managed/models"
)

// mockAgentsRegistry is an autogenerated mock type for the agentsRegistry type
type mockAgentsRegistry struct {
	mock.Mock
}

// PBMSwitchPITR provides a mock function with given fields: pmmAgentID, dsn, files, tdp, enabled
func (_m *mockAgentsRegistry) PBMSwitchPITR(pmmAgentID string, dsn string, files map[string]string, tdp *models.DelimiterPair, enabled bool) error {
	ret := _m.Called(pmmAgentID, dsn, files, tdp, enabled)

	var r0 error
	if rf, ok := ret.Get(0).(func(string, string, map[string]string, *models.DelimiterPair, bool) error); ok {
		r0 = rf(pmmAgentID, dsn, files, tdp, enabled)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}
