...
1
2
3
4
5 package internal
6
7 import (
8 context "context"
9 reflect "reflect"
10
11 gomock "github.com/golang/mock/gomock"
12
13 fosite "github.com/ory/fosite"
14 )
15
16
17 type MockAuthorizeEndpointHandler struct {
18 ctrl *gomock.Controller
19 recorder *MockAuthorizeEndpointHandlerMockRecorder
20 }
21
22
23 type MockAuthorizeEndpointHandlerMockRecorder struct {
24 mock *MockAuthorizeEndpointHandler
25 }
26
27
28 func NewMockAuthorizeEndpointHandler(ctrl *gomock.Controller) *MockAuthorizeEndpointHandler {
29 mock := &MockAuthorizeEndpointHandler{ctrl: ctrl}
30 mock.recorder = &MockAuthorizeEndpointHandlerMockRecorder{mock}
31 return mock
32 }
33
34
35 func (m *MockAuthorizeEndpointHandler) EXPECT() *MockAuthorizeEndpointHandlerMockRecorder {
36 return m.recorder
37 }
38
39
40 func (m *MockAuthorizeEndpointHandler) HandleAuthorizeEndpointRequest(arg0 context.Context, arg1 fosite.AuthorizeRequester, arg2 fosite.AuthorizeResponder) error {
41 m.ctrl.T.Helper()
42 ret := m.ctrl.Call(m, "HandleAuthorizeEndpointRequest", arg0, arg1, arg2)
43 ret0, _ := ret[0].(error)
44 return ret0
45 }
46
47
48 func (mr *MockAuthorizeEndpointHandlerMockRecorder) HandleAuthorizeEndpointRequest(arg0, arg1, arg2 interface{}) *gomock.Call {
49 mr.mock.ctrl.T.Helper()
50 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HandleAuthorizeEndpointRequest", reflect.TypeOf((*MockAuthorizeEndpointHandler)(nil).HandleAuthorizeEndpointRequest), arg0, arg1, arg2)
51 }
52
View as plain text