Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockIGambler
- type MockIGamblerMockRecorder
- func (mr *MockIGamblerMockRecorder) Credits() *gomock.Call
- func (mr *MockIGamblerMockRecorder) Deposit(arg0 interface{}) *gomock.Call
- func (mr *MockIGamblerMockRecorder) Id() *gomock.Call
- func (mr *MockIGamblerMockRecorder) Notificator() *gomock.Call
- func (mr *MockIGamblerMockRecorder) Withdraw(arg0 interface{}) *gomock.Call
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) Deposit ¶
func (m *MockIGambler) Deposit(arg0 float32) error
Deposit mocks base method.
func (*MockIGambler) EXPECT ¶
func (m *MockIGambler) EXPECT() *MockIGamblerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (mr *MockIGamblerMockRecorder) Id() *gomock.Call
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.
Click to show internal directories.
Click to hide internal directories.