coremocks

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	mock.Mock
}

Command is an autogenerated mock type for the Command type

func (*Command) CommandName

func (_m *Command) CommandName() string

CommandName provides a mock function with given fields:

type Entity

type Entity struct {
	mock.Mock
}

Entity is an autogenerated mock type for the Entity type

func (*Entity) AddEvent

func (_m *Entity) AddEvent(events ...core.Event)

AddEvent provides a mock function with given fields: events

func (*Entity) ClearEvents

func (_m *Entity) ClearEvents()

ClearEvents provides a mock function with given fields:

func (*Entity) EntityName

func (_m *Entity) EntityName() string

EntityName provides a mock function with given fields:

func (*Entity) Events

func (_m *Entity) Events() []core.Event

Events provides a mock function with given fields:

func (*Entity) ID

func (_m *Entity) ID() string

ID provides a mock function with given fields:

type Event

type Event struct {
	mock.Mock
}

Event is an autogenerated mock type for the Event type

func (*Event) EventName

func (_m *Event) EventName() string

EventName provides a mock function with given fields:

type Marshaller

type Marshaller struct {
	mock.Mock
}

Marshaller is an autogenerated mock type for the Marshaller type

func (*Marshaller) GetType

func (_m *Marshaller) GetType(typeName string) reflect.Type

GetType provides a mock function with given fields: typeName

func (*Marshaller) Marshal

func (_m *Marshaller) Marshal(_a0 interface{}) ([]byte, error)

Marshal provides a mock function with given fields: _a0

func (*Marshaller) RegisterType

func (_m *Marshaller) RegisterType(typeName string, v reflect.Type)

RegisterType provides a mock function with given fields: typeName, v

func (*Marshaller) Unmarshal

func (_m *Marshaller) Unmarshal(_a0 []byte, _a1 interface{}) error

Unmarshal provides a mock function with given fields: _a0, _a1

type Reply

type Reply struct {
	mock.Mock
}

Reply is an autogenerated mock type for the Reply type

func (*Reply) ReplyName

func (_m *Reply) ReplyName() string

ReplyName provides a mock function with given fields:

type SagaData

type SagaData struct {
	mock.Mock
}

SagaData is an autogenerated mock type for the SagaData type

func (*SagaData) SagaDataName

func (_m *SagaData) SagaDataName() string

SagaDataName provides a mock function with given fields:

type Snapshot

type Snapshot struct {
	mock.Mock
}

Snapshot is an autogenerated mock type for the Snapshot type

func (*Snapshot) SnapshotName

func (_m *Snapshot) SnapshotName() string

SnapshotName provides a mock function with given fields:

Jump to

Keyboard shortcuts

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