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

package mock

import (
	context "context"

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

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

// Execute provides a mock function with given fields: ctx, tags
func (_m *CancelDagInsHelper) SendCancellations(ctx context.Context, tags map[string]string) error {
	ret := _m.Called(ctx, tags)

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, map[string]string) error); ok {
		r0 = rf(ctx, tags)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

// QueryResult provides a mock function with given fields: ctx, tags
func (_m *CancelDagInsHelper) WaitDone(ctx context.Context, tags map[string]string) error {
	ret := _m.Called(ctx, tags)

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, map[string]string) error); ok {
		r0 = rf(ctx, tags)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

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

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

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

	return mock
}
