Documentation
¶
Overview ¶
Package mockhashingfactory is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHashingFactory ¶
type MockHashingFactory struct {
// contains filtered or unexported fields
}
MockHashingFactory is a mock of HashingFactory interface.
func NewMockHashingFactory ¶
func NewMockHashingFactory(ctrl *gomock.Controller) *MockHashingFactory
NewMockHashingFactory creates a new mock instance.
func (*MockHashingFactory) ComparePassword ¶
func (m *MockHashingFactory) ComparePassword(password, hash string) bool
ComparePassword mocks base method.
func (*MockHashingFactory) EXPECT ¶
func (m *MockHashingFactory) EXPECT() *MockHashingFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHashingFactory) HashPassword ¶
func (m *MockHashingFactory) HashPassword(password string) (string, error)
HashPassword mocks base method.
type MockHashingFactoryMockRecorder ¶
type MockHashingFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockHashingFactoryMockRecorder is the mock recorder for MockHashingFactory.
func (*MockHashingFactoryMockRecorder) ComparePassword ¶
func (mr *MockHashingFactoryMockRecorder) ComparePassword(password, hash interface{}) *gomock.Call
ComparePassword indicates an expected call of ComparePassword.
func (*MockHashingFactoryMockRecorder) HashPassword ¶
func (mr *MockHashingFactoryMockRecorder) HashPassword(password interface{}) *gomock.Call
HashPassword indicates an expected call of HashPassword.
Click to show internal directories.
Click to hide internal directories.