mocks

package
v0.0.0-...-1280531 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mocks messages mocks.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 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) Create

Create mocks base method

func (*MockRepository) EXPECT

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

func (*MockRepository) GetByID

GetByID mocks base method

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository

func (*MockRepositoryMockRecorder) Create

func (mr *MockRepositoryMockRecorder) Create(ctx, input interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockRepositoryMockRecorder) GetByID

func (mr *MockRepositoryMockRecorder) GetByID(ctx, input interface{}) *gomock.Call

GetByID indicates an expected call of GetByID

type MockSerializer

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

MockSerializer is a mock of Serializer interface

func NewMockSerializer

func NewMockSerializer(ctrl *gomock.Controller) *MockSerializer

NewMockSerializer creates a new mock instance

func (*MockSerializer) EXPECT

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

func (*MockSerializer) ToMessage

ToMessage mocks base method

func (*MockSerializer) ToMessages

func (m *MockSerializer) ToMessages(arg0 []*models.Message) []*gcloud_grpc_boilerplate.Message

ToMessages mocks base method

type MockSerializerMockRecorder

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

MockSerializerMockRecorder is the mock recorder for MockSerializer

func (*MockSerializerMockRecorder) ToMessage

func (mr *MockSerializerMockRecorder) ToMessage(arg0 interface{}) *gomock.Call

ToMessage indicates an expected call of ToMessage

func (*MockSerializerMockRecorder) ToMessages

func (mr *MockSerializerMockRecorder) ToMessages(arg0 interface{}) *gomock.Call

ToMessages indicates an expected call of ToMessages

type MockValidator

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

MockValidator is a mock of Validator interface

func NewMockValidator

func NewMockValidator(ctrl *gomock.Controller) *MockValidator

NewMockValidator creates a new mock instance

func (*MockValidator) EXPECT

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

func (*MockValidator) ValidateCreate

ValidateCreate mocks base method

func (*MockValidator) ValidateGetByID

ValidateGetByID mocks base method

type MockValidatorMockRecorder

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

MockValidatorMockRecorder is the mock recorder for MockValidator

func (*MockValidatorMockRecorder) ValidateCreate

func (mr *MockValidatorMockRecorder) ValidateCreate(arg0 interface{}) *gomock.Call

ValidateCreate indicates an expected call of ValidateCreate

func (*MockValidatorMockRecorder) ValidateGetByID

func (mr *MockValidatorMockRecorder) ValidateGetByID(arg0 interface{}) *gomock.Call

ValidateGetByID indicates an expected call of ValidateGetByID

Jump to

Keyboard shortcuts

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