func NewMockhasNamespace(ctrl *gomock.Controller) *MockhasNamespace {
	mock := &MockhasNamespace{ctrl: ctrl}
	mock.recorder = &MockhasNamespaceMockRecorder{mock}
	return mock
}
NewMockhasNamespace creates a new mock instance.
package authorization
import (
	context "context"
	reflect "reflect"
	gomock "github.com/golang/mock/gomock"
)
type MockAuthorizer struct {
	ctrl     *gomock.Controller
	recorder *MockAuthorizerMockRecorder
}
type MockAuthorizerMockRecorder struct {
	mock *MockAuthorizer
}
func NewMockAuthorizer(ctrl *gomock.Controller) *MockAuthorizer {
	mock := &MockAuthorizer{ctrl: ctrl}
	mock.recorder = &MockAuthorizerMockRecorder{mock}
	return mock
}
func (m *MockAuthorizer) EXPECT() *MockAuthorizerMockRecorder {
	return m.recorder
}
func (m *MockAuthorizer) Authorize(ctx context.Context, caller *Claims, target *CallTarget) (Result, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Authorize", ctx, caller, target)
	ret0, _ := ret[0].(Result)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockAuthorizerMockRecorder) Authorize(ctx, caller, target interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Authorize", reflect.TypeOf((*MockAuthorizer)(nil).Authorize), ctx, caller, target)
}
type MockhasNamespace struct {
	ctrl     *gomock.Controller
	recorder *MockhasNamespaceMockRecorder
}
type MockhasNamespaceMockRecorder struct {
	mock *MockhasNamespace
}