store

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_store is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Employee

type Employee interface {
	Get(ctx *gofr.Context, filter entity.Employee) []entity.Employee
	Create(ctx *gofr.Context, data entity.Employee) ([]entity.Employee, error)
}

type MockEmployee

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

MockEmployee is a mock of Employee interface

func NewMockEmployee

func NewMockEmployee(ctrl *gomock.Controller) *MockEmployee

NewMockEmployee creates a new mock instance

func (*MockEmployee) Create

func (m *MockEmployee) Create(ctx *gofr.Context, data entity.Employee) ([]entity.Employee, error)

Create mocks base method

func (*MockEmployee) EXPECT

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

func (*MockEmployee) Get

func (m *MockEmployee) Get(ctx *gofr.Context, filter entity.Employee) []entity.Employee

Get mocks base method

type MockEmployeeMockRecorder

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

MockEmployeeMockRecorder is the mock recorder for MockEmployee

func (*MockEmployeeMockRecorder) Create

func (mr *MockEmployeeMockRecorder) Create(ctx, data interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockEmployeeMockRecorder) Get

func (mr *MockEmployeeMockRecorder) Get(ctx, filter interface{}) *gomock.Call

Get indicates an expected call of Get

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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