2020-05-12 15:01:02 +00:00
|
|
|
// Code generated by MockGen. DO NOT EDIT.
|
|
|
|
// Source: github.com/connorwstein/prysm/shared/cmd (interfaces: PasswordReader)
|
|
|
|
|
|
|
|
// Package mock_cmd is a generated GoMock package.
|
|
|
|
package cmd
|
|
|
|
|
|
|
|
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
|
|
|
)
|
|
|
|
|
|
|
|
// MockPasswordReader is a mock of PasswordReader interface
|
|
|
|
type MockPasswordReader struct {
|
|
|
|
ctrl *gomock.Controller
|
|
|
|
recorder *MockPasswordReaderMockRecorder
|
|
|
|
}
|
|
|
|
|
|
|
|
// MockPasswordReaderMockRecorder is the mock recorder for MockPasswordReader
|
|
|
|
type MockPasswordReaderMockRecorder struct {
|
|
|
|
mock *MockPasswordReader
|
|
|
|
}
|
|
|
|
|
|
|
|
// NewMockPasswordReader creates a new mock instance
|
|
|
|
func NewMockPasswordReader(ctrl *gomock.Controller) *MockPasswordReader {
|
|
|
|
mock := &MockPasswordReader{ctrl: ctrl}
|
|
|
|
mock.recorder = &MockPasswordReaderMockRecorder{mock}
|
|
|
|
return mock
|
|
|
|
}
|
|
|
|
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use
|
|
|
|
func (m *MockPasswordReader) EXPECT() *MockPasswordReaderMockRecorder {
|
|
|
|
return m.recorder
|
|
|
|
}
|
|
|
|
|
|
|
|
// ReadPassword mocks base method
|
|
|
|
func (m *MockPasswordReader) 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 *MockPasswordReaderMockRecorder) ReadPassword() *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadPassword", reflect.TypeOf((*MockPasswordReader)(nil).ReadPassword))
|
|
|
|
}
|