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

package mocks

import (
	common "github.com/hyperledger/fabric-protos-go-apiv2/common"
	mock "github.com/stretchr/testify/mock"
)

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

// ApplyFilters provides a mock function with given fields: channel, env
func (_m *Filters) ApplyFilters(channel string, env *common.Envelope) error {
	ret := _m.Called(channel, env)

	var r0 error
	if rf, ok := ret.Get(0).(func(string, *common.Envelope) error); ok {
		r0 = rf(channel, env)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

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

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

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

	return mock
}
