71 lines
2.0 KiB
Go
71 lines
2.0 KiB
Go
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: galaxy/lobby/internal/ports (interfaces: GMClient)
|
|
//
|
|
// Generated by this command:
|
|
//
|
|
// mockgen -destination=../adapters/mocks/mock_gmclient.go -package=mocks galaxy/lobby/internal/ports GMClient
|
|
//
|
|
|
|
// Package mocks is a generated GoMock package.
|
|
package mocks
|
|
|
|
import (
|
|
context "context"
|
|
ports "galaxy/lobby/internal/ports"
|
|
reflect "reflect"
|
|
|
|
gomock "go.uber.org/mock/gomock"
|
|
)
|
|
|
|
// MockGMClient is a mock of GMClient interface.
|
|
type MockGMClient struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockGMClientMockRecorder
|
|
isgomock struct{}
|
|
}
|
|
|
|
// MockGMClientMockRecorder is the mock recorder for MockGMClient.
|
|
type MockGMClientMockRecorder struct {
|
|
mock *MockGMClient
|
|
}
|
|
|
|
// NewMockGMClient creates a new mock instance.
|
|
func NewMockGMClient(ctrl *gomock.Controller) *MockGMClient {
|
|
mock := &MockGMClient{ctrl: ctrl}
|
|
mock.recorder = &MockGMClientMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
|
func (m *MockGMClient) EXPECT() *MockGMClientMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// Ping mocks base method.
|
|
func (m *MockGMClient) Ping(ctx context.Context) error {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "Ping", ctx)
|
|
ret0, _ := ret[0].(error)
|
|
return ret0
|
|
}
|
|
|
|
// Ping indicates an expected call of Ping.
|
|
func (mr *MockGMClientMockRecorder) Ping(ctx any) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Ping", reflect.TypeOf((*MockGMClient)(nil).Ping), ctx)
|
|
}
|
|
|
|
// RegisterGame mocks base method.
|
|
func (m *MockGMClient) RegisterGame(ctx context.Context, request ports.RegisterGameRequest) error {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "RegisterGame", ctx, request)
|
|
ret0, _ := ret[0].(error)
|
|
return ret0
|
|
}
|
|
|
|
// RegisterGame indicates an expected call of RegisterGame.
|
|
func (mr *MockGMClientMockRecorder) RegisterGame(ctx, request any) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterGame", reflect.TypeOf((*MockGMClient)(nil).RegisterGame), ctx, request)
|
|
}
|