Documentation ¶
Overview ¶
Package mock_elasticsearch is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepository ¶
type MockRepository struct {
// contains filtered or unexported fields
}
MockRepository is a mock of Repository interface
func NewMockRepository ¶
func NewMockRepository(ctrl *gomock.Controller) *MockRepository
NewMockRepository creates a new mock instance
func (*MockRepository) EXPECT ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRepository) SaveArticleDocument ¶
func (m *MockRepository) SaveArticleDocument(input *entity.Article) error
SaveArticleDocument mocks base method
type MockRepositoryMockRecorder ¶
type MockRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryMockRecorder is the mock recorder for MockRepository
func (*MockRepositoryMockRecorder) SaveArticleDocument ¶
func (mr *MockRepositoryMockRecorder) SaveArticleDocument(input interface{}) *gomock.Call
SaveArticleDocument indicates an expected call of SaveArticleDocument
Click to show internal directories.
Click to hide internal directories.