mock

package
v0.0.0-...-33ea157 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIGambler

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

MockIGambler is a mock of IGambler interface.

func NewMockIGambler

func NewMockIGambler(ctrl *gomock.Controller) *MockIGambler

NewMockIGambler creates a new mock instance.

func (*MockIGambler) Credits

func (m *MockIGambler) Credits() float32

Credits mocks base method.

func (*MockIGambler) Deposit

func (m *MockIGambler) Deposit(arg0 float32) error

Deposit mocks base method.

func (*MockIGambler) EXPECT

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

func (*MockIGambler) Id

func (m *MockIGambler) Id() string

Id mocks base method.

func (*MockIGambler) Notificator

func (m *MockIGambler) Notificator() notification.INotificator

Notificator mocks base method.

func (*MockIGambler) Withdraw

func (m *MockIGambler) Withdraw(arg0 float32) error

Withdraw mocks base method.

type MockIGamblerMockRecorder

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

MockIGamblerMockRecorder is the mock recorder for MockIGambler.

func (*MockIGamblerMockRecorder) Credits

func (mr *MockIGamblerMockRecorder) Credits() *gomock.Call

Credits indicates an expected call of Credits.

func (*MockIGamblerMockRecorder) Deposit

func (mr *MockIGamblerMockRecorder) Deposit(arg0 interface{}) *gomock.Call

Deposit indicates an expected call of Deposit.

func (*MockIGamblerMockRecorder) Id

Id indicates an expected call of Id.

func (*MockIGamblerMockRecorder) Notificator

func (mr *MockIGamblerMockRecorder) Notificator() *gomock.Call

Notificator indicates an expected call of Notificator.

func (*MockIGamblerMockRecorder) Withdraw

func (mr *MockIGamblerMockRecorder) Withdraw(arg0 interface{}) *gomock.Call

Withdraw indicates an expected call of Withdraw.

Jump to

Keyboard shortcuts

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