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

package mocks

import (
	context "context"

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

	resource "github.com/pingcap/test-infra/common/model/resource"
)

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

// Notify provides a mock function with given fields: ctx, action, content
func (_m *NotifierInterface) Notify(ctx context.Context, action resource.GcNotificationAction, content string) error {
	ret := _m.Called(ctx, action, content)

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, resource.GcNotificationAction, string) error); ok {
		r0 = rf(ctx, action, content)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

type NewNotifierInterfaceT interface {
	mock.TestingT
	Cleanup(func())
}

// NewNotifierInterface creates a new instance of NotifierInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func NewNotifierInterface(t NewNotifierInterfaceT) *NotifierInterface {
	mock := &NotifierInterface{}
	mock.Mock.Test(t)

	t.Cleanup(func() { mock.AssertExpectations(t) })

	return mock
}
