mock_cqrs

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_cqrs is a generated GoMock package.

Package mock_cqrs is a generated GoMock package.

Package mock_cqrs is a generated GoMock package.

Package mock_cqrs is a generated GoMock package.

Package mock_cqrs is a generated GoMock package.

Package mock_cqrs is a generated GoMock package.

Package mock_cqrs is a generated GoMock package.

Package mock_cqrs is a generated GoMock package.

Package mock_cqrs is a generated GoMock package.

Package mock_cqrs is a generated GoMock package.

Package mock_cqrs is a generated GoMock package.

Package mock_cqrs is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAggregate

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

MockAggregate is a mock of Aggregate interface

func NewMockAggregate

func NewMockAggregate(ctrl *gomock.Controller) *MockAggregate

NewMockAggregate creates a new mock instance

func (*MockAggregate) AggregateID

func (m *MockAggregate) AggregateID() uuid.UUID

AggregateID mocks base method

func (*MockAggregate) AggregateType

func (m *MockAggregate) AggregateType() cqrs_es.AggregateType

AggregateType mocks base method

func (*MockAggregate) ApplyEvent added in v0.5.1

func (m *MockAggregate) ApplyEvent(arg0 cqrs_es.Event) error

ApplyEvent mocks base method

func (*MockAggregate) Changes

func (m *MockAggregate) Changes() []cqrs_es.Event

Changes mocks base method

func (*MockAggregate) CurrentVersion

func (m *MockAggregate) CurrentVersion() int

CurrentVersion mocks base method

func (*MockAggregate) EXPECT

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

func (*MockAggregate) OriginalVersion

func (m *MockAggregate) OriginalVersion() int

OriginalVersion mocks base method

func (*MockAggregate) TrackChange added in v0.9.1

func (m *MockAggregate) TrackChange(arg0 ...cqrs_es.Event)

TrackChange mocks base method

type MockAggregateConfig

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

MockAggregateConfig is a mock of AggregateConfig interface

func NewMockAggregateConfig

func NewMockAggregateConfig(ctrl *gomock.Controller) *MockAggregateConfig

NewMockAggregateConfig creates a new mock instance

func (*MockAggregateConfig) EXPECT

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

func (*MockAggregateConfig) Factories

Factories mocks base method

func (*MockAggregateConfig) New

New mocks base method

func (*MockAggregateConfig) Register

Register mocks base method

type MockAggregateConfigMockRecorder

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

MockAggregateConfigMockRecorder is the mock recorder for MockAggregateConfig

func (*MockAggregateConfigMockRecorder) Factories

func (mr *MockAggregateConfigMockRecorder) Factories() *gomock.Call

Factories indicates an expected call of Factories

func (*MockAggregateConfigMockRecorder) New

func (mr *MockAggregateConfigMockRecorder) New(arg0, arg1 interface{}) *gomock.Call

New indicates an expected call of New

func (*MockAggregateConfigMockRecorder) Register

func (mr *MockAggregateConfigMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call

Register indicates an expected call of Register

type MockAggregateMockRecorder

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

MockAggregateMockRecorder is the mock recorder for MockAggregate

func (*MockAggregateMockRecorder) AggregateID

func (mr *MockAggregateMockRecorder) AggregateID() *gomock.Call

AggregateID indicates an expected call of AggregateID

func (*MockAggregateMockRecorder) AggregateType

func (mr *MockAggregateMockRecorder) AggregateType() *gomock.Call

AggregateType indicates an expected call of AggregateType

func (*MockAggregateMockRecorder) ApplyEvent added in v0.5.1

func (mr *MockAggregateMockRecorder) ApplyEvent(arg0 interface{}) *gomock.Call

ApplyEvent indicates an expected call of ApplyEvent

func (*MockAggregateMockRecorder) Changes

func (mr *MockAggregateMockRecorder) Changes() *gomock.Call

Changes indicates an expected call of Changes

func (*MockAggregateMockRecorder) CurrentVersion

func (mr *MockAggregateMockRecorder) CurrentVersion() *gomock.Call

CurrentVersion indicates an expected call of CurrentVersion

func (*MockAggregateMockRecorder) OriginalVersion

func (mr *MockAggregateMockRecorder) OriginalVersion() *gomock.Call

OriginalVersion indicates an expected call of OriginalVersion

func (*MockAggregateMockRecorder) TrackChange added in v0.9.1

func (mr *MockAggregateMockRecorder) TrackChange(arg0 ...interface{}) *gomock.Call

TrackChange indicates an expected call of TrackChange

type MockAggregateRepository

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

MockAggregateRepository is a mock of AggregateRepository interface

func NewMockAggregateRepository

func NewMockAggregateRepository(ctrl *gomock.Controller) *MockAggregateRepository

NewMockAggregateRepository creates a new mock instance

func (*MockAggregateRepository) EXPECT

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

func (*MockAggregateRepository) Fetch

Fetch mocks base method

func (*MockAggregateRepository) FetchLatest

FetchLatest mocks base method

func (*MockAggregateRepository) Remove added in v0.9.11

func (m *MockAggregateRepository) Remove(ctx context.Context, aggregate cqrs_es.Aggregate) error

Remove mocks base method

func (*MockAggregateRepository) Save

Save mocks base method

type MockAggregateRepositoryMockRecorder

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

MockAggregateRepositoryMockRecorder is the mock recorder for MockAggregateRepository

func (*MockAggregateRepositoryMockRecorder) Fetch

func (mr *MockAggregateRepositoryMockRecorder) Fetch(ctx, typ, id, version interface{}) *gomock.Call

Fetch indicates an expected call of Fetch

func (*MockAggregateRepositoryMockRecorder) FetchLatest

func (mr *MockAggregateRepositoryMockRecorder) FetchLatest(ctx, typ, id interface{}) *gomock.Call

FetchLatest indicates an expected call of FetchLatest

func (*MockAggregateRepositoryMockRecorder) Remove added in v0.9.11

func (mr *MockAggregateRepositoryMockRecorder) Remove(ctx, aggregate interface{}) *gomock.Call

Remove indicates an expected call of Remove

func (*MockAggregateRepositoryMockRecorder) Save

func (mr *MockAggregateRepositoryMockRecorder) Save(ctx, aggregate interface{}) *gomock.Call

Save indicates an expected call of Save

type MockCommand

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

MockCommand is a mock of Command interface

func NewMockCommand

func NewMockCommand(ctrl *gomock.Controller) *MockCommand

NewMockCommand creates a new mock instance

func (*MockCommand) AggregateID

func (m *MockCommand) AggregateID() uuid.UUID

AggregateID mocks base method

func (*MockCommand) AggregateType

func (m *MockCommand) AggregateType() cqrs_es.AggregateType

AggregateType mocks base method

func (*MockCommand) CommandType

func (m *MockCommand) CommandType() cqrs_es.CommandType

CommandType mocks base method

func (*MockCommand) EXPECT

func (m *MockCommand) EXPECT() *MockCommandMockRecorder

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

type MockCommandBus

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

MockCommandBus is a mock of CommandBus interface

func NewMockCommandBus

func NewMockCommandBus(ctrl *gomock.Controller) *MockCommandBus

NewMockCommandBus creates a new mock instance

func (*MockCommandBus) Dispatch

func (m *MockCommandBus) Dispatch(arg0 context.Context, arg1 cqrs_es.Command) error

Dispatch mocks base method

func (*MockCommandBus) EXPECT

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

type MockCommandBusMockRecorder

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

MockCommandBusMockRecorder is the mock recorder for MockCommandBus

func (*MockCommandBusMockRecorder) Dispatch

func (mr *MockCommandBusMockRecorder) Dispatch(arg0, arg1 interface{}) *gomock.Call

Dispatch indicates an expected call of Dispatch

type MockCommandConfig

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

MockCommandConfig is a mock of CommandConfig interface

func NewMockCommandConfig

func NewMockCommandConfig(ctrl *gomock.Controller) *MockCommandConfig

NewMockCommandConfig creates a new mock instance

func (*MockCommandConfig) EXPECT

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

func (*MockCommandConfig) Handler

Handler mocks base method

func (*MockCommandConfig) Handlers

Handlers mocks base method

func (*MockCommandConfig) Register

Register mocks base method

type MockCommandConfigMockRecorder

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

MockCommandConfigMockRecorder is the mock recorder for MockCommandConfig

func (*MockCommandConfigMockRecorder) Handler

func (mr *MockCommandConfigMockRecorder) Handler(arg0 interface{}) *gomock.Call

Handler indicates an expected call of Handler

func (*MockCommandConfigMockRecorder) Handlers

func (mr *MockCommandConfigMockRecorder) Handlers() *gomock.Call

Handlers indicates an expected call of Handlers

func (*MockCommandConfigMockRecorder) Register

func (mr *MockCommandConfigMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call

Register indicates an expected call of Register

type MockCommandHandler

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

MockCommandHandler is a mock of CommandHandler interface

func NewMockCommandHandler

func NewMockCommandHandler(ctrl *gomock.Controller) *MockCommandHandler

NewMockCommandHandler creates a new mock instance

func (*MockCommandHandler) EXPECT

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

func (*MockCommandHandler) HandleCommand

func (m *MockCommandHandler) HandleCommand(arg0 context.Context, arg1 cqrs_es.Command) error

HandleCommand mocks base method

type MockCommandHandlerMockRecorder

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

MockCommandHandlerMockRecorder is the mock recorder for MockCommandHandler

func (*MockCommandHandlerMockRecorder) HandleCommand

func (mr *MockCommandHandlerMockRecorder) HandleCommand(arg0, arg1 interface{}) *gomock.Call

HandleCommand indicates an expected call of HandleCommand

type MockCommandMockRecorder

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

MockCommandMockRecorder is the mock recorder for MockCommand

func (*MockCommandMockRecorder) AggregateID

func (mr *MockCommandMockRecorder) AggregateID() *gomock.Call

AggregateID indicates an expected call of AggregateID

func (*MockCommandMockRecorder) AggregateType

func (mr *MockCommandMockRecorder) AggregateType() *gomock.Call

AggregateType indicates an expected call of AggregateType

func (*MockCommandMockRecorder) CommandType

func (mr *MockCommandMockRecorder) CommandType() *gomock.Call

CommandType indicates an expected call of CommandType

type MockContainer added in v0.5.0

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

MockContainer is a mock of Container interface

func NewMockContainer added in v0.5.0

func NewMockContainer(ctrl *gomock.Controller) *MockContainer

NewMockContainer creates a new mock instance

func (*MockContainer) AggregateConfig added in v0.5.0

func (m *MockContainer) AggregateConfig() cqrs_es.AggregateConfig

AggregateConfig mocks base method

func (*MockContainer) Aggregates added in v0.5.0

func (m *MockContainer) Aggregates() cqrs_es.AggregateRepository

Aggregates mocks base method

func (*MockContainer) CommandBus added in v0.5.0

func (m *MockContainer) CommandBus() cqrs_es.CommandBus

CommandBus mocks base method

func (*MockContainer) CommandConfig added in v0.5.0

func (m *MockContainer) CommandConfig() cqrs_es.CommandConfig

CommandConfig mocks base method

func (*MockContainer) EXPECT added in v0.5.0

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

func (*MockContainer) EventBus added in v0.5.0

func (m *MockContainer) EventBus() cqrs_es.EventBus

EventBus mocks base method

func (*MockContainer) EventConfig added in v0.5.0

func (m *MockContainer) EventConfig() cqrs_es.EventConfig

EventConfig mocks base method

func (*MockContainer) EventStore added in v0.5.0

func (m *MockContainer) EventStore() cqrs_es.EventStore

EventStore mocks base method

func (*MockContainer) Snapshots added in v0.5.0

func (m *MockContainer) Snapshots() cqrs_es.SnapshotRepository

Snapshots mocks base method

type MockContainerMockRecorder added in v0.5.0

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

MockContainerMockRecorder is the mock recorder for MockContainer

func (*MockContainerMockRecorder) AggregateConfig added in v0.5.0

func (mr *MockContainerMockRecorder) AggregateConfig() *gomock.Call

AggregateConfig indicates an expected call of AggregateConfig

func (*MockContainerMockRecorder) Aggregates added in v0.5.0

func (mr *MockContainerMockRecorder) Aggregates() *gomock.Call

Aggregates indicates an expected call of Aggregates

func (*MockContainerMockRecorder) CommandBus added in v0.5.0

func (mr *MockContainerMockRecorder) CommandBus() *gomock.Call

CommandBus indicates an expected call of CommandBus

func (*MockContainerMockRecorder) CommandConfig added in v0.5.0

func (mr *MockContainerMockRecorder) CommandConfig() *gomock.Call

CommandConfig indicates an expected call of CommandConfig

func (*MockContainerMockRecorder) EventBus added in v0.5.0

func (mr *MockContainerMockRecorder) EventBus() *gomock.Call

EventBus indicates an expected call of EventBus

func (*MockContainerMockRecorder) EventConfig added in v0.5.0

func (mr *MockContainerMockRecorder) EventConfig() *gomock.Call

EventConfig indicates an expected call of EventConfig

func (*MockContainerMockRecorder) EventStore added in v0.5.0

func (mr *MockContainerMockRecorder) EventStore() *gomock.Call

EventStore indicates an expected call of EventStore

func (*MockContainerMockRecorder) Snapshots added in v0.5.0

func (mr *MockContainerMockRecorder) Snapshots() *gomock.Call

Snapshots indicates an expected call of Snapshots

type MockEvent

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

MockEvent is a mock of Event interface

func NewMockEvent

func NewMockEvent(ctrl *gomock.Controller) *MockEvent

NewMockEvent creates a new mock instance

func (*MockEvent) AggregateID

func (m *MockEvent) AggregateID() uuid.UUID

AggregateID mocks base method

func (*MockEvent) AggregateType

func (m *MockEvent) AggregateType() cqrs_es.AggregateType

AggregateType mocks base method

func (*MockEvent) Data

func (m *MockEvent) Data() cqrs_es.EventData

Data mocks base method

func (*MockEvent) EXPECT

func (m *MockEvent) EXPECT() *MockEventMockRecorder

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

func (*MockEvent) Time

func (m *MockEvent) Time() time.Time

Time mocks base method

func (*MockEvent) Type

func (m *MockEvent) Type() cqrs_es.EventType

Type mocks base method

func (*MockEvent) Version

func (m *MockEvent) Version() int

Version mocks base method

type MockEventBus

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

MockEventBus is a mock of EventBus interface

func NewMockEventBus

func NewMockEventBus(ctrl *gomock.Controller) *MockEventBus

NewMockEventBus creates a new mock instance

func (*MockEventBus) EXPECT

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

func (*MockEventBus) Publish

func (m *MockEventBus) Publish(ctx context.Context, events ...cqrs_es.Event) error

Publish mocks base method

func (*MockEventBus) Subscribe

func (m *MockEventBus) Subscribe(ctx context.Context, types ...cqrs_es.EventType) (<-chan cqrs_es.Event, error)

Subscribe mocks base method

type MockEventBusMockRecorder

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

MockEventBusMockRecorder is the mock recorder for MockEventBus

func (*MockEventBusMockRecorder) Publish

func (mr *MockEventBusMockRecorder) Publish(ctx interface{}, events ...interface{}) *gomock.Call

Publish indicates an expected call of Publish

func (*MockEventBusMockRecorder) Subscribe

func (mr *MockEventBusMockRecorder) Subscribe(ctx interface{}, types ...interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe

type MockEventConfig

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

MockEventConfig is a mock of EventConfig interface

func NewMockEventConfig

func NewMockEventConfig(ctrl *gomock.Controller) *MockEventConfig

NewMockEventConfig creates a new mock instance

func (*MockEventConfig) EXPECT

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

func (*MockEventConfig) Factories

Factories mocks base method

func (*MockEventConfig) NewData

NewData mocks base method

func (*MockEventConfig) Register

func (m *MockEventConfig) Register(arg0 cqrs_es.EventType, arg1 cqrs_es.EventData)

Register mocks base method

type MockEventConfigMockRecorder

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

MockEventConfigMockRecorder is the mock recorder for MockEventConfig

func (*MockEventConfigMockRecorder) Factories

func (mr *MockEventConfigMockRecorder) Factories() *gomock.Call

Factories indicates an expected call of Factories

func (*MockEventConfigMockRecorder) NewData

func (mr *MockEventConfigMockRecorder) NewData(arg0 interface{}) *gomock.Call

NewData indicates an expected call of NewData

func (*MockEventConfigMockRecorder) Register

func (mr *MockEventConfigMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call

Register indicates an expected call of Register

type MockEventData

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

MockEventData is a mock of EventData interface

func NewMockEventData

func NewMockEventData(ctrl *gomock.Controller) *MockEventData

NewMockEventData creates a new mock instance

func (*MockEventData) EXPECT

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

type MockEventDataMockRecorder

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

MockEventDataMockRecorder is the mock recorder for MockEventData

type MockEventMockRecorder

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

MockEventMockRecorder is the mock recorder for MockEvent

func (*MockEventMockRecorder) AggregateID

func (mr *MockEventMockRecorder) AggregateID() *gomock.Call

AggregateID indicates an expected call of AggregateID

func (*MockEventMockRecorder) AggregateType

func (mr *MockEventMockRecorder) AggregateType() *gomock.Call

AggregateType indicates an expected call of AggregateType

func (*MockEventMockRecorder) Data

func (mr *MockEventMockRecorder) Data() *gomock.Call

Data indicates an expected call of Data

func (*MockEventMockRecorder) Time

func (mr *MockEventMockRecorder) Time() *gomock.Call

Time indicates an expected call of Time

func (*MockEventMockRecorder) Type

func (mr *MockEventMockRecorder) Type() *gomock.Call

Type indicates an expected call of Type

func (*MockEventMockRecorder) Version

func (mr *MockEventMockRecorder) Version() *gomock.Call

Version indicates an expected call of Version

type MockEventPublisher

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

MockEventPublisher is a mock of EventPublisher interface

func NewMockEventPublisher

func NewMockEventPublisher(ctrl *gomock.Controller) *MockEventPublisher

NewMockEventPublisher creates a new mock instance

func (*MockEventPublisher) EXPECT

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

func (*MockEventPublisher) Publish

func (m *MockEventPublisher) Publish(ctx context.Context, events ...cqrs_es.Event) error

Publish mocks base method

type MockEventPublisherMockRecorder

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

MockEventPublisherMockRecorder is the mock recorder for MockEventPublisher

func (*MockEventPublisherMockRecorder) Publish

func (mr *MockEventPublisherMockRecorder) Publish(ctx interface{}, events ...interface{}) *gomock.Call

Publish indicates an expected call of Publish

type MockEventStore

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

MockEventStore is a mock of EventStore interface

func NewMockEventStore

func NewMockEventStore(ctrl *gomock.Controller) *MockEventStore

NewMockEventStore creates a new mock instance

func (*MockEventStore) EXPECT

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

func (*MockEventStore) Fetch

func (m *MockEventStore) Fetch(ctx context.Context, aggregateType cqrs_es.AggregateType, aggregateID uuid.UUID, from, to int) ([]cqrs_es.Event, error)

Fetch mocks base method

func (*MockEventStore) FetchAll

func (m *MockEventStore) FetchAll(ctx context.Context, aggregateType cqrs_es.AggregateType, aggregateID uuid.UUID) ([]cqrs_es.Event, error)

FetchAll mocks base method

func (*MockEventStore) FetchFrom

func (m *MockEventStore) FetchFrom(ctx context.Context, aggregateType cqrs_es.AggregateType, aggregateID uuid.UUID, from int) ([]cqrs_es.Event, error)

FetchFrom mocks base method

func (*MockEventStore) FetchTo

func (m *MockEventStore) FetchTo(ctx context.Context, aggregateType cqrs_es.AggregateType, aggregateID uuid.UUID, to int) ([]cqrs_es.Event, error)

FetchTo mocks base method

func (*MockEventStore) Find

func (m *MockEventStore) Find(ctx context.Context, aggregateType cqrs_es.AggregateType, aggregateID uuid.UUID, version int) (cqrs_es.Event, error)

Find mocks base method

func (*MockEventStore) RemoveAll added in v0.9.11

func (m *MockEventStore) RemoveAll(ctx context.Context, aggregateType cqrs_es.AggregateType, aggregateID uuid.UUID) error

RemoveAll mocks base method

func (*MockEventStore) Save

func (m *MockEventStore) Save(ctx context.Context, originalVersion int, events ...cqrs_es.Event) error

Save mocks base method

type MockEventStoreMockRecorder

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

MockEventStoreMockRecorder is the mock recorder for MockEventStore

func (*MockEventStoreMockRecorder) Fetch

func (mr *MockEventStoreMockRecorder) Fetch(ctx, aggregateType, aggregateID, from, to interface{}) *gomock.Call

Fetch indicates an expected call of Fetch

func (*MockEventStoreMockRecorder) FetchAll

func (mr *MockEventStoreMockRecorder) FetchAll(ctx, aggregateType, aggregateID interface{}) *gomock.Call

FetchAll indicates an expected call of FetchAll

func (*MockEventStoreMockRecorder) FetchFrom

func (mr *MockEventStoreMockRecorder) FetchFrom(ctx, aggregateType, aggregateID, from interface{}) *gomock.Call

FetchFrom indicates an expected call of FetchFrom

func (*MockEventStoreMockRecorder) FetchTo

func (mr *MockEventStoreMockRecorder) FetchTo(ctx, aggregateType, aggregateID, to interface{}) *gomock.Call

FetchTo indicates an expected call of FetchTo

func (*MockEventStoreMockRecorder) Find

func (mr *MockEventStoreMockRecorder) Find(ctx, aggregateType, aggregateID, version interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockEventStoreMockRecorder) RemoveAll added in v0.9.11

func (mr *MockEventStoreMockRecorder) RemoveAll(ctx, aggregateType, aggregateID interface{}) *gomock.Call

RemoveAll indicates an expected call of RemoveAll

func (*MockEventStoreMockRecorder) Save

func (mr *MockEventStoreMockRecorder) Save(ctx, originalVersion interface{}, events ...interface{}) *gomock.Call

Save indicates an expected call of Save

type MockEventSubscriber

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

MockEventSubscriber is a mock of EventSubscriber interface

func NewMockEventSubscriber

func NewMockEventSubscriber(ctrl *gomock.Controller) *MockEventSubscriber

NewMockEventSubscriber creates a new mock instance

func (*MockEventSubscriber) EXPECT

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

func (*MockEventSubscriber) Subscribe

func (m *MockEventSubscriber) Subscribe(ctx context.Context, types ...cqrs_es.EventType) (<-chan cqrs_es.Event, error)

Subscribe mocks base method

type MockEventSubscriberMockRecorder

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

MockEventSubscriberMockRecorder is the mock recorder for MockEventSubscriber

func (*MockEventSubscriberMockRecorder) Subscribe

func (mr *MockEventSubscriberMockRecorder) Subscribe(ctx interface{}, types ...interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe

type MockSnapshotConfig

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

MockSnapshotConfig is a mock of SnapshotConfig interface

func NewMockSnapshotConfig

func NewMockSnapshotConfig(ctrl *gomock.Controller) *MockSnapshotConfig

NewMockSnapshotConfig creates a new mock instance

func (*MockSnapshotConfig) EXPECT

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

func (*MockSnapshotConfig) IsDue

func (m *MockSnapshotConfig) IsDue(arg0 cqrs_es.Aggregate) bool

IsDue mocks base method

type MockSnapshotConfigMockRecorder

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

MockSnapshotConfigMockRecorder is the mock recorder for MockSnapshotConfig

func (*MockSnapshotConfigMockRecorder) IsDue

func (mr *MockSnapshotConfigMockRecorder) IsDue(arg0 interface{}) *gomock.Call

IsDue indicates an expected call of IsDue

type MockSnapshotRepository

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

MockSnapshotRepository is a mock of SnapshotRepository interface

func NewMockSnapshotRepository

func NewMockSnapshotRepository(ctrl *gomock.Controller) *MockSnapshotRepository

NewMockSnapshotRepository creates a new mock instance

func (*MockSnapshotRepository) EXPECT

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

func (*MockSnapshotRepository) Find

Find mocks base method

func (*MockSnapshotRepository) Latest

Latest mocks base method

func (*MockSnapshotRepository) MaxVersion

func (m *MockSnapshotRepository) MaxVersion(ctx context.Context, typ cqrs_es.AggregateType, id uuid.UUID, maxVersion int) (cqrs_es.Aggregate, error)

MaxVersion mocks base method

func (*MockSnapshotRepository) Save

Save mocks base method

type MockSnapshotRepositoryMockRecorder

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

MockSnapshotRepositoryMockRecorder is the mock recorder for MockSnapshotRepository

func (*MockSnapshotRepositoryMockRecorder) Find

func (mr *MockSnapshotRepositoryMockRecorder) Find(ctx, typ, id, version interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockSnapshotRepositoryMockRecorder) Latest

func (mr *MockSnapshotRepositoryMockRecorder) Latest(ctx, typ, id interface{}) *gomock.Call

Latest indicates an expected call of Latest

func (*MockSnapshotRepositoryMockRecorder) MaxVersion

func (mr *MockSnapshotRepositoryMockRecorder) MaxVersion(ctx, typ, id, maxVersion interface{}) *gomock.Call

MaxVersion indicates an expected call of MaxVersion

func (*MockSnapshotRepositoryMockRecorder) Save

func (mr *MockSnapshotRepositoryMockRecorder) Save(ctx, snap interface{}) *gomock.Call

Save indicates an expected call of Save

Directories

Path Synopsis
Package mock_setup is a generated GoMock package.
Package mock_setup is a generated GoMock package.

Jump to

Keyboard shortcuts

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