github.com/prysmaticlabs/prysm@v1.4.4/shared/cmd/password_reader_mock.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/connorwstein/prysm/shared/cmd (interfaces: PasswordReader)
     3  
     4  // Package mock_cmd is a generated GoMock package.
     5  package cmd
     6  
     7  import (
     8  	reflect "reflect"
     9  
    10  	gomock "github.com/golang/mock/gomock"
    11  )
    12  
    13  // MockPasswordReader is a mock of PasswordReader interface
    14  type MockPasswordReader struct {
    15  	ctrl     *gomock.Controller
    16  	recorder *MockPasswordReaderMockRecorder
    17  }
    18  
    19  // MockPasswordReaderMockRecorder is the mock recorder for MockPasswordReader
    20  type MockPasswordReaderMockRecorder struct {
    21  	mock *MockPasswordReader
    22  }
    23  
    24  // NewMockPasswordReader creates a new mock instance
    25  func NewMockPasswordReader(ctrl *gomock.Controller) *MockPasswordReader {
    26  	mock := &MockPasswordReader{ctrl: ctrl}
    27  	mock.recorder = &MockPasswordReaderMockRecorder{mock}
    28  	return mock
    29  }
    30  
    31  // EXPECT returns an object that allows the caller to indicate expected use
    32  func (m *MockPasswordReader) EXPECT() *MockPasswordReaderMockRecorder {
    33  	return m.recorder
    34  }
    35  
    36  // ReadPassword mocks base method
    37  func (m *MockPasswordReader) ReadPassword() (string, error) {
    38  	m.ctrl.T.Helper()
    39  	ret := m.ctrl.Call(m, "ReadPassword")
    40  	ret0, _ := ret[0].(string)
    41  	ret1, _ := ret[1].(error)
    42  	return ret0, ret1
    43  }
    44  
    45  // ReadPassword indicates an expected call of ReadPassword
    46  func (mr *MockPasswordReaderMockRecorder) ReadPassword() *gomock.Call {
    47  	mr.mock.ctrl.T.Helper()
    48  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadPassword", reflect.TypeOf((*MockPasswordReader)(nil).ReadPassword))
    49  }