mocks

package
v0.0.0-...-dd46240 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNumericService

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

MockNumericService is a mock of NumericService interface

func NewMockNumericService

func NewMockNumericService(ctrl *gomock.Controller) *MockNumericService

NewMockNumericService creates a new mock instance

func (*MockNumericService) EXPECT

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

func (*MockNumericService) Get

func (m *MockNumericService) Get(arg0 context.Context, arg1 int, arg2 ...draws.QueryParamOption) (*types.Draw, error)

Get mocks base method

func (*MockNumericService) GetActive

func (m *MockNumericService) GetActive(arg0 context.Context, arg1 ...draws.QueryParamOption) (*types.Draw, error)

GetActive mocks base method

func (*MockNumericService) GetByDateRange

func (m *MockNumericService) GetByDateRange(arg0 context.Context, arg1, arg2 time.Time, arg3 ...draws.QueryParamOption) (*types.PageDraw, error)

GetByDateRange mocks base method

func (*MockNumericService) GetByIDRange

func (m *MockNumericService) GetByIDRange(arg0 context.Context, arg1, arg2 int, arg3 ...draws.QueryParamOption) (*types.PageDraw, error)

GetByIDRange mocks base method

func (*MockNumericService) GetIDsByDateRange

func (m *MockNumericService) GetIDsByDateRange(arg0 context.Context, arg1, arg2 time.Time, arg3 ...draws.QueryParamOption) (types.DrawIDsByDateRange, error)

GetIDsByDateRange mocks base method

func (*MockNumericService) GetLast

func (m *MockNumericService) GetLast(arg0 context.Context, arg1 int, arg2 ...draws.QueryParamOption) ([]*types.Draw, error)

GetLast mocks base method

func (*MockNumericService) GetLastAndActive

func (m *MockNumericService) GetLastAndActive(arg0 context.Context, arg1 ...draws.QueryParamOption) (*types.LastAndActiveDraws, error)

GetLastAndActive mocks base method

func (*MockNumericService) GetUpcoming

func (m *MockNumericService) GetUpcoming(arg0 context.Context, arg1 ...draws.QueryParamOption) ([]*types.Draw, error)

GetUpcoming mocks base method

type MockNumericServiceMockRecorder

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

MockNumericServiceMockRecorder is the mock recorder for MockNumericService

func (*MockNumericServiceMockRecorder) Get

func (mr *MockNumericServiceMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockNumericServiceMockRecorder) GetActive

func (mr *MockNumericServiceMockRecorder) GetActive(arg0 interface{}, arg1 ...interface{}) *gomock.Call

GetActive indicates an expected call of GetActive

func (*MockNumericServiceMockRecorder) GetByDateRange

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

GetByDateRange indicates an expected call of GetByDateRange

func (*MockNumericServiceMockRecorder) GetByIDRange

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

GetByIDRange indicates an expected call of GetByIDRange

func (*MockNumericServiceMockRecorder) GetIDsByDateRange

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

GetIDsByDateRange indicates an expected call of GetIDsByDateRange

func (*MockNumericServiceMockRecorder) GetLast

func (mr *MockNumericServiceMockRecorder) GetLast(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetLast indicates an expected call of GetLast

func (*MockNumericServiceMockRecorder) GetLastAndActive

func (mr *MockNumericServiceMockRecorder) GetLastAndActive(arg0 interface{}, arg1 ...interface{}) *gomock.Call

GetLastAndActive indicates an expected call of GetLastAndActive

func (*MockNumericServiceMockRecorder) GetUpcoming

func (mr *MockNumericServiceMockRecorder) GetUpcoming(arg0 interface{}, arg1 ...interface{}) *gomock.Call

GetUpcoming indicates an expected call of GetUpcoming

type MockService

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

MockService is a mock of Service interface

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) Get

func (m *MockService) Get(arg0 context.Context, arg1 int, arg2 ...draws.QueryParamOption) (*types.Draw, error)

Get mocks base method

func (*MockService) GetActive

func (m *MockService) GetActive(arg0 context.Context, arg1 ...draws.QueryParamOption) (*types.Draw, error)

GetActive mocks base method

func (*MockService) GetByDateRange

func (m *MockService) GetByDateRange(arg0 context.Context, arg1, arg2 time.Time, arg3 ...draws.QueryParamOption) (*types.PageDraw, error)

GetByDateRange mocks base method

func (*MockService) GetIDsByDateRange

func (m *MockService) GetIDsByDateRange(arg0 context.Context, arg1, arg2 time.Time, arg3 ...draws.QueryParamOption) (types.DrawIDsByDateRange, error)

GetIDsByDateRange mocks base method

func (*MockService) GetLast

func (m *MockService) GetLast(arg0 context.Context, arg1 int, arg2 ...draws.QueryParamOption) ([]*types.Draw, error)

GetLast mocks base method

func (*MockService) GetLastAndActive

func (m *MockService) GetLastAndActive(arg0 context.Context, arg1 ...draws.QueryParamOption) (*types.LastAndActiveDraws, error)

GetLastAndActive mocks base method

func (*MockService) GetUpcoming

func (m *MockService) GetUpcoming(arg0 context.Context, arg1 ...draws.QueryParamOption) ([]*types.Draw, error)

GetUpcoming mocks base method

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService

func (*MockServiceMockRecorder) Get

func (mr *MockServiceMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockServiceMockRecorder) GetActive

func (mr *MockServiceMockRecorder) GetActive(arg0 interface{}, arg1 ...interface{}) *gomock.Call

GetActive indicates an expected call of GetActive

func (*MockServiceMockRecorder) GetByDateRange

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

GetByDateRange indicates an expected call of GetByDateRange

func (*MockServiceMockRecorder) GetIDsByDateRange

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

GetIDsByDateRange indicates an expected call of GetIDsByDateRange

func (*MockServiceMockRecorder) GetLast

func (mr *MockServiceMockRecorder) GetLast(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetLast indicates an expected call of GetLast

func (*MockServiceMockRecorder) GetLastAndActive

func (mr *MockServiceMockRecorder) GetLastAndActive(arg0 interface{}, arg1 ...interface{}) *gomock.Call

GetLastAndActive indicates an expected call of GetLastAndActive

func (*MockServiceMockRecorder) GetUpcoming

func (mr *MockServiceMockRecorder) GetUpcoming(arg0 interface{}, arg1 ...interface{}) *gomock.Call

GetUpcoming indicates an expected call of GetUpcoming

Jump to

Keyboard shortcuts

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