Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDataStoreClient ¶
type MockDataStoreClient struct {
// contains filtered or unexported fields
}
MockDataStoreClient is a mock of DataStoreClient interface
func NewMockDataStoreClient ¶
func NewMockDataStoreClient(ctrl *gomock.Controller) *MockDataStoreClient
NewMockDataStoreClient creates a new mock instance
func (*MockDataStoreClient) EXPECT ¶
func (m *MockDataStoreClient) EXPECT() *MockDataStoreClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDataStoreClient) GetByKey ¶
func (m *MockDataStoreClient) GetByKey(key string) (string, error)
GetByKey mocks base method
func (*MockDataStoreClient) Save ¶
func (m *MockDataStoreClient) Save(key, answer string) error
Save mocks base method
type MockDataStoreClientMockRecorder ¶
type MockDataStoreClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDataStoreClientMockRecorder is the mock recorder for MockDataStoreClient
func (*MockDataStoreClientMockRecorder) GetByKey ¶
func (mr *MockDataStoreClientMockRecorder) GetByKey(key interface{}) *gomock.Call
GetByKey indicates an expected call of GetByKey
func (*MockDataStoreClientMockRecorder) Save ¶
func (mr *MockDataStoreClientMockRecorder) Save(key, answer interface{}) *gomock.Call
Save indicates an expected call of Save
type MockEsaClient ¶
type MockEsaClient struct {
// contains filtered or unexported fields
}
MockEsaClient is a mock of EsaClient interface
func NewMockEsaClient ¶
func NewMockEsaClient(ctrl *gomock.Controller) *MockEsaClient
NewMockEsaClient creates a new mock instance
func (*MockEsaClient) EXPECT ¶
func (m *MockEsaClient) EXPECT() *MockEsaClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEsaClient) GetListByKey ¶
func (m *MockEsaClient) GetListByKey(key string) (*models.EsaAnswer, error)
GetListByKey mocks base method
type MockEsaClientMockRecorder ¶
type MockEsaClientMockRecorder struct {
// contains filtered or unexported fields
}
MockEsaClientMockRecorder is the mock recorder for MockEsaClient
func (*MockEsaClientMockRecorder) GetListByKey ¶
func (mr *MockEsaClientMockRecorder) GetListByKey(key interface{}) *gomock.Call
GetListByKey indicates an expected call of GetListByKey