// Code generated by MockGen. DO NOT EDIT. // Source: github.com/ory/fosite (interfaces: Hasher) // Package internal is a generated GoMock package. package internal import ( context "context" reflect "reflect" gomock "github.com/golang/mock/gomock" ) // MockHasher is a mock of Hasher interface type MockHasher struct { ctrl *gomock.Controller recorder *MockHasherMockRecorder } // MockHasherMockRecorder is the mock recorder for MockHasher type MockHasherMockRecorder struct { mock *MockHasher } // NewMockHasher creates a new mock instance func NewMockHasher(ctrl *gomock.Controller) *MockHasher { mock := &MockHasher{ctrl: ctrl} mock.recorder = &MockHasherMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use func (m *MockHasher) EXPECT() *MockHasherMockRecorder { return m.recorder } // Compare mocks base method func (m *MockHasher) Compare(arg0 context.Context, arg1, arg2 []byte) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Compare", arg0, arg1, arg2) ret0, _ := ret[0].(error) return ret0 } // Compare indicates an expected call of Compare func (mr *MockHasherMockRecorder) Compare(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Compare", reflect.TypeOf((*MockHasher)(nil).Compare), arg0, arg1, arg2) } // Hash mocks base method func (m *MockHasher) Hash(arg0 context.Context, arg1 []byte) ([]byte, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Hash", arg0, arg1) ret0, _ := ret[0].([]byte) ret1, _ := ret[1].(error) return ret0, ret1 } // Hash indicates an expected call of Hash func (mr *MockHasherMockRecorder) Hash(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Hash", reflect.TypeOf((*MockHasher)(nil).Hash), arg0, arg1) }