prysm-pulse/cmd/mock/password_reader_mock.go
Sammy Rosso 4ff91bebf8
Switch gomock library (#13639)
* Update gomock

* Update mockgen

* Gaz

* Go mod

* Cleanup

* Regenerate gomock

* Manually fix import
2024-02-21 18:37:17 +00:00

50 lines
1.4 KiB
Go
Generated

// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/connorwstein/prysm/cmd (interfaces: PasswordReader)
// Package mock_cmd is a generated GoMock package.
package mock
import (
reflect "reflect"
gomock "go.uber.org/mock/gomock"
)
// PasswordReader is a mock of PasswordReader interface
type PasswordReader struct {
ctrl *gomock.Controller
recorder *PasswordReaderMockRecorder
}
// PasswordReaderMockRecorder is the mock recorder for MockPasswordReader
type PasswordReaderMockRecorder struct {
mock *PasswordReader
}
// NewPasswordReader creates a new mock instance
func NewPasswordReader(ctrl *gomock.Controller) *PasswordReader {
mock := &PasswordReader{ctrl: ctrl}
mock.recorder = &PasswordReaderMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *PasswordReader) EXPECT() *PasswordReaderMockRecorder {
return m.recorder
}
// ReadPassword mocks base method
func (m *PasswordReader) ReadPassword() (string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ReadPassword")
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ReadPassword indicates an expected call of ReadPassword
func (mr *PasswordReaderMockRecorder) ReadPassword() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadPassword", reflect.TypeOf((*PasswordReader)(nil).ReadPassword))
}