mock

package
v0.0.0-...-9dfdedf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPostPresenter

type MockPostPresenter struct {
	// contains filtered or unexported fields
}

MockPostPresenter is a mock of PostPresenter interface.

func NewMockPostPresenter

func NewMockPostPresenter(ctrl *gomock.Controller) *MockPostPresenter

NewMockPostPresenter creates a new mock instance.

func (*MockPostPresenter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPostPresenter) ResponsePost

func (m *MockPostPresenter) ResponsePost(ctx context.Context, post *model.Post) (*service.Post, error)

ResponsePost mocks base method.

func (*MockPostPresenter) ResponsePosts

func (m *MockPostPresenter) ResponsePosts(ctx context.Context, posts []*model.Post) ([]*service.Post, error)

ResponsePosts mocks base method.

type MockPostPresenterMockRecorder

type MockPostPresenterMockRecorder struct {
	// contains filtered or unexported fields
}

MockPostPresenterMockRecorder is the mock recorder for MockPostPresenter.

func (*MockPostPresenterMockRecorder) ResponsePost

func (mr *MockPostPresenterMockRecorder) ResponsePost(ctx, post interface{}) *gomock.Call

ResponsePost indicates an expected call of ResponsePost.

func (*MockPostPresenterMockRecorder) ResponsePosts

func (mr *MockPostPresenterMockRecorder) ResponsePosts(ctx, posts interface{}) *gomock.Call

ResponsePosts indicates an expected call of ResponsePosts.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL