persistence_mock

package
v0.0.0-...-f16b5dc Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package persistence_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPersistence

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

MockPersistence is a mock of Persistence interface.

func NewMockPersistence

func NewMockPersistence(ctrl *gomock.Controller) *MockPersistence

NewMockPersistence creates a new mock instance.

func (*MockPersistence) Dump

func (m *MockPersistence) Dump(counters map[string][]models.Entry) error

Dump mocks base method.

func (*MockPersistence) EXPECT

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

func (*MockPersistence) Load

func (m *MockPersistence) Load() (map[string][]models.Entry, error)

Load mocks base method.

type MockPersistenceMockRecorder

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

MockPersistenceMockRecorder is the mock recorder for MockPersistence.

func (*MockPersistenceMockRecorder) Dump

func (mr *MockPersistenceMockRecorder) Dump(counters interface{}) *gomock.Call

Dump indicates an expected call of Dump.

func (*MockPersistenceMockRecorder) Load

Load indicates an expected call of Load.

Jump to

Keyboard shortcuts

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