mock_repository

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_repository 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

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

func (*MockRepository) GetAllMessagesInCategory

func (m *MockRepository) GetAllMessagesInCategory(arg0 context.Context, arg1 string, arg2 int) ([]*repository.MessageEnvelope, error)

GetAllMessagesInCategory mocks base method

func (*MockRepository) GetAllMessagesInCategorySince

func (m *MockRepository) GetAllMessagesInCategorySince(arg0 context.Context, arg1 string, arg2 int64, arg3 int) ([]*repository.MessageEnvelope, error)

GetAllMessagesInCategorySince mocks base method

func (*MockRepository) GetAllMessagesInStream

func (m *MockRepository) GetAllMessagesInStream(arg0 context.Context, arg1 string, arg2 int) ([]*repository.MessageEnvelope, error)

GetAllMessagesInStream mocks base method

func (*MockRepository) GetAllMessagesInStreamSince

func (m *MockRepository) GetAllMessagesInStreamSince(arg0 context.Context, arg1 string, arg2 int64, arg3 int) ([]*repository.MessageEnvelope, error)

GetAllMessagesInStreamSince mocks base method

func (*MockRepository) GetLastMessageInStream

func (m *MockRepository) GetLastMessageInStream(arg0 context.Context, arg1 string) (*repository.MessageEnvelope, error)

GetLastMessageInStream mocks base method

func (*MockRepository) WriteMessage

func (m *MockRepository) WriteMessage(arg0 context.Context, arg1 *repository.MessageEnvelope) error

WriteMessage mocks base method

func (*MockRepository) WriteMessageWithExpectedPosition

func (m *MockRepository) WriteMessageWithExpectedPosition(arg0 context.Context, arg1 *repository.MessageEnvelope, arg2 int64) error

WriteMessageWithExpectedPosition mocks base method

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository

func (*MockRepositoryMockRecorder) GetAllMessagesInCategory

func (mr *MockRepositoryMockRecorder) GetAllMessagesInCategory(arg0, arg1, arg2 interface{}) *gomock.Call

GetAllMessagesInCategory indicates an expected call of GetAllMessagesInCategory

func (*MockRepositoryMockRecorder) GetAllMessagesInCategorySince

func (mr *MockRepositoryMockRecorder) GetAllMessagesInCategorySince(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetAllMessagesInCategorySince indicates an expected call of GetAllMessagesInCategorySince

func (*MockRepositoryMockRecorder) GetAllMessagesInStream

func (mr *MockRepositoryMockRecorder) GetAllMessagesInStream(arg0, arg1, arg2 interface{}) *gomock.Call

GetAllMessagesInStream indicates an expected call of GetAllMessagesInStream

func (*MockRepositoryMockRecorder) GetAllMessagesInStreamSince

func (mr *MockRepositoryMockRecorder) GetAllMessagesInStreamSince(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetAllMessagesInStreamSince indicates an expected call of GetAllMessagesInStreamSince

func (*MockRepositoryMockRecorder) GetLastMessageInStream

func (mr *MockRepositoryMockRecorder) GetLastMessageInStream(arg0, arg1 interface{}) *gomock.Call

GetLastMessageInStream indicates an expected call of GetLastMessageInStream

func (*MockRepositoryMockRecorder) WriteMessage

func (mr *MockRepositoryMockRecorder) WriteMessage(arg0, arg1 interface{}) *gomock.Call

WriteMessage indicates an expected call of WriteMessage

func (*MockRepositoryMockRecorder) WriteMessageWithExpectedPosition

func (mr *MockRepositoryMockRecorder) WriteMessageWithExpectedPosition(arg0, arg1, arg2 interface{}) *gomock.Call

WriteMessageWithExpectedPosition indicates an expected call of WriteMessageWithExpectedPosition

Jump to

Keyboard shortcuts

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