Documentation ¶
Overview ¶
Package mock_usecase is a generated GoMock package.
Index ¶
- type MockUsecaseHandler
- func (m *MockUsecaseHandler) DeleteArticle(ctx context.Context, req entity.DeleteArticleRequest) models.StandardResponseReq
- func (m *MockUsecaseHandler) DeleteCategory(ctx context.Context, req entity.DeleteCategoryRequest) models.StandardResponseReq
- func (m *MockUsecaseHandler) EXPECT() *MockUsecaseHandlerMockRecorder
- func (m *MockUsecaseHandler) GetArticleDetails(ctx context.Context, req entity.GetArticleDetailsRequest) models.StandardResponseReq
- func (m *MockUsecaseHandler) GetArticles(ctx context.Context, req entity.GetArticlesRequest) models.StandardResponseReq
- func (m *MockUsecaseHandler) GetCategoryDetails(ctx context.Context, req entity.GetCategoryDetailsRequest) models.StandardResponseReq
- func (m *MockUsecaseHandler) GetCategoryTree(ctx context.Context, req entity.GetCategoriesRequest) models.StandardResponseReq
- func (m *MockUsecaseHandler) InsertArticle(ctx context.Context, req entity.InsertArticleRequest) models.StandardResponseReq
- func (m *MockUsecaseHandler) InsertCategory(ctx context.Context, req entity.InsertCategoryRequest) models.StandardResponseReq
- func (m *MockUsecaseHandler) UpdateArticle(ctx context.Context, req entity.UpdateArticleRequest) models.StandardResponseReq
- func (m *MockUsecaseHandler) UpdateCategory(ctx context.Context, req entity.UpdateCategoryRequest) models.StandardResponseReq
- type MockUsecaseHandlerMockRecorder
- func (mr *MockUsecaseHandlerMockRecorder) DeleteArticle(ctx, req interface{}) *gomock.Call
- func (mr *MockUsecaseHandlerMockRecorder) DeleteCategory(ctx, req interface{}) *gomock.Call
- func (mr *MockUsecaseHandlerMockRecorder) GetArticleDetails(ctx, req interface{}) *gomock.Call
- func (mr *MockUsecaseHandlerMockRecorder) GetArticles(ctx, req interface{}) *gomock.Call
- func (mr *MockUsecaseHandlerMockRecorder) GetCategoryDetails(ctx, req interface{}) *gomock.Call
- func (mr *MockUsecaseHandlerMockRecorder) GetCategoryTree(ctx, req interface{}) *gomock.Call
- func (mr *MockUsecaseHandlerMockRecorder) InsertArticle(ctx, req interface{}) *gomock.Call
- func (mr *MockUsecaseHandlerMockRecorder) InsertCategory(ctx, req interface{}) *gomock.Call
- func (mr *MockUsecaseHandlerMockRecorder) UpdateArticle(ctx, req interface{}) *gomock.Call
- func (mr *MockUsecaseHandlerMockRecorder) UpdateCategory(ctx, req interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUsecaseHandler ¶
type MockUsecaseHandler struct {
// contains filtered or unexported fields
}
MockUsecaseHandler is a mock of UsecaseHandler interface.
func NewMockUsecaseHandler ¶
func NewMockUsecaseHandler(ctrl *gomock.Controller) *MockUsecaseHandler
NewMockUsecaseHandler creates a new mock instance.
func (*MockUsecaseHandler) DeleteArticle ¶
func (m *MockUsecaseHandler) DeleteArticle(ctx context.Context, req entity.DeleteArticleRequest) models.StandardResponseReq
DeleteArticle mocks base method.
func (*MockUsecaseHandler) DeleteCategory ¶
func (m *MockUsecaseHandler) DeleteCategory(ctx context.Context, req entity.DeleteCategoryRequest) models.StandardResponseReq
DeleteCategory mocks base method.
func (*MockUsecaseHandler) EXPECT ¶
func (m *MockUsecaseHandler) EXPECT() *MockUsecaseHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUsecaseHandler) GetArticleDetails ¶
func (m *MockUsecaseHandler) GetArticleDetails(ctx context.Context, req entity.GetArticleDetailsRequest) models.StandardResponseReq
GetArticleDetails mocks base method.
func (*MockUsecaseHandler) GetArticles ¶
func (m *MockUsecaseHandler) GetArticles(ctx context.Context, req entity.GetArticlesRequest) models.StandardResponseReq
GetArticles mocks base method.
func (*MockUsecaseHandler) GetCategoryDetails ¶
func (m *MockUsecaseHandler) GetCategoryDetails(ctx context.Context, req entity.GetCategoryDetailsRequest) models.StandardResponseReq
GetCategoryDetails mocks base method.
func (*MockUsecaseHandler) GetCategoryTree ¶
func (m *MockUsecaseHandler) GetCategoryTree(ctx context.Context, req entity.GetCategoriesRequest) models.StandardResponseReq
GetCategoryTree mocks base method.
func (*MockUsecaseHandler) InsertArticle ¶
func (m *MockUsecaseHandler) InsertArticle(ctx context.Context, req entity.InsertArticleRequest) models.StandardResponseReq
InsertArticle mocks base method.
func (*MockUsecaseHandler) InsertCategory ¶
func (m *MockUsecaseHandler) InsertCategory(ctx context.Context, req entity.InsertCategoryRequest) models.StandardResponseReq
InsertCategory mocks base method.
func (*MockUsecaseHandler) UpdateArticle ¶
func (m *MockUsecaseHandler) UpdateArticle(ctx context.Context, req entity.UpdateArticleRequest) models.StandardResponseReq
UpdateArticle mocks base method.
func (*MockUsecaseHandler) UpdateCategory ¶
func (m *MockUsecaseHandler) UpdateCategory(ctx context.Context, req entity.UpdateCategoryRequest) models.StandardResponseReq
UpdateCategory mocks base method.
type MockUsecaseHandlerMockRecorder ¶
type MockUsecaseHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockUsecaseHandlerMockRecorder is the mock recorder for MockUsecaseHandler.
func (*MockUsecaseHandlerMockRecorder) DeleteArticle ¶
func (mr *MockUsecaseHandlerMockRecorder) DeleteArticle(ctx, req interface{}) *gomock.Call
DeleteArticle indicates an expected call of DeleteArticle.
func (*MockUsecaseHandlerMockRecorder) DeleteCategory ¶
func (mr *MockUsecaseHandlerMockRecorder) DeleteCategory(ctx, req interface{}) *gomock.Call
DeleteCategory indicates an expected call of DeleteCategory.
func (*MockUsecaseHandlerMockRecorder) GetArticleDetails ¶
func (mr *MockUsecaseHandlerMockRecorder) GetArticleDetails(ctx, req interface{}) *gomock.Call
GetArticleDetails indicates an expected call of GetArticleDetails.
func (*MockUsecaseHandlerMockRecorder) GetArticles ¶
func (mr *MockUsecaseHandlerMockRecorder) GetArticles(ctx, req interface{}) *gomock.Call
GetArticles indicates an expected call of GetArticles.
func (*MockUsecaseHandlerMockRecorder) GetCategoryDetails ¶
func (mr *MockUsecaseHandlerMockRecorder) GetCategoryDetails(ctx, req interface{}) *gomock.Call
GetCategoryDetails indicates an expected call of GetCategoryDetails.
func (*MockUsecaseHandlerMockRecorder) GetCategoryTree ¶
func (mr *MockUsecaseHandlerMockRecorder) GetCategoryTree(ctx, req interface{}) *gomock.Call
GetCategoryTree indicates an expected call of GetCategoryTree.
func (*MockUsecaseHandlerMockRecorder) InsertArticle ¶
func (mr *MockUsecaseHandlerMockRecorder) InsertArticle(ctx, req interface{}) *gomock.Call
InsertArticle indicates an expected call of InsertArticle.
func (*MockUsecaseHandlerMockRecorder) InsertCategory ¶
func (mr *MockUsecaseHandlerMockRecorder) InsertCategory(ctx, req interface{}) *gomock.Call
InsertCategory indicates an expected call of InsertCategory.
func (*MockUsecaseHandlerMockRecorder) UpdateArticle ¶
func (mr *MockUsecaseHandlerMockRecorder) UpdateArticle(ctx, req interface{}) *gomock.Call
UpdateArticle indicates an expected call of UpdateArticle.
func (*MockUsecaseHandlerMockRecorder) UpdateCategory ¶
func (mr *MockUsecaseHandlerMockRecorder) UpdateCategory(ctx, req interface{}) *gomock.Call
UpdateCategory indicates an expected call of UpdateCategory.