// Code generated by mockery v2.13.0-beta.1. DO NOT EDIT.

package access

import (
	http "net/http"

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

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

// Matches provides a mock function with given fields: path
func (_m *ValidationServiceMock) Matches(path string) bool {
	ret := _m.Called(path)

	var r0 bool
	if rf, ok := ret.Get(0).(func(string) bool); ok {
		r0 = rf(path)
	} else {
		r0 = ret.Get(0).(bool)
	}

	return r0
}

// Validate provides a mock function with given fields: r
func (_m *ValidationServiceMock) Validate(r *http.Request) error {
	ret := _m.Called(r)

	var r0 error
	if rf, ok := ret.Get(0).(func(*http.Request) error); ok {
		r0 = rf(r)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

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

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

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

	return mock
}
