2020-05-12 15:01:02 +00:00
|
|
|
// Code generated by MockGen. DO NOT EDIT.
|
2021-09-21 18:11:16 +00:00
|
|
|
// Source: github.com/connorwstein/prysm/cmd (interfaces: PasswordReader)
|
2020-05-12 15:01:02 +00:00
|
|
|
|
|
|
|
// Package mock_cmd is a generated GoMock package.
|
2022-01-26 14:48:20 +00:00
|
|
|
package mock
|
2020-05-12 15:01:02 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
reflect "reflect"
|
2020-05-20 15:23:22 +00:00
|
|
|
|
|
|
|
gomock "github.com/golang/mock/gomock"
|
2020-05-12 15:01:02 +00:00
|
|
|
)
|
|
|
|
|
2023-10-20 16:45:33 +00:00
|
|
|
// PasswordReader is a mock of PasswordReader interface
|
|
|
|
type PasswordReader struct {
|
2020-05-12 15:01:02 +00:00
|
|
|
ctrl *gomock.Controller
|
2023-10-20 16:45:33 +00:00
|
|
|
recorder *PasswordReaderMockRecorder
|
2020-05-12 15:01:02 +00:00
|
|
|
}
|
|
|
|
|
2023-10-20 16:45:33 +00:00
|
|
|
// PasswordReaderMockRecorder is the mock recorder for MockPasswordReader
|
|
|
|
type PasswordReaderMockRecorder struct {
|
|
|
|
mock *PasswordReader
|
2020-05-12 15:01:02 +00:00
|
|
|
}
|
|
|
|
|
2023-10-20 16:45:33 +00:00
|
|
|
// NewPasswordReader creates a new mock instance
|
|
|
|
func NewPasswordReader(ctrl *gomock.Controller) *PasswordReader {
|
|
|
|
mock := &PasswordReader{ctrl: ctrl}
|
|
|
|
mock.recorder = &PasswordReaderMockRecorder{mock}
|
2020-05-12 15:01:02 +00:00
|
|
|
return mock
|
|
|
|
}
|
|
|
|
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use
|
2023-10-20 16:45:33 +00:00
|
|
|
func (m *PasswordReader) EXPECT() *PasswordReaderMockRecorder {
|
2020-05-12 15:01:02 +00:00
|
|
|
return m.recorder
|
|
|
|
}
|
|
|
|
|
|
|
|
// ReadPassword mocks base method
|
2023-10-20 16:45:33 +00:00
|
|
|
func (m *PasswordReader) ReadPassword() (string, error) {
|
2020-05-12 15:01:02 +00:00
|
|
|
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
|
2023-10-20 16:45:33 +00:00
|
|
|
func (mr *PasswordReaderMockRecorder) ReadPassword() *gomock.Call {
|
2020-05-12 15:01:02 +00:00
|
|
|
mr.mock.ctrl.T.Helper()
|
2023-10-20 16:45:33 +00:00
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadPassword", reflect.TypeOf((*PasswordReader)(nil).ReadPassword))
|
2020-05-12 15:01:02 +00:00
|
|
|
}
|