// Code generated by MockGen. DO NOT EDIT. // Source: galaxy/gamemaster/internal/ports (interfaces: RTMClient) // // Generated by this command: // // mockgen -destination=../adapters/mocks/mock_rtmclient.go -package=mocks galaxy/gamemaster/internal/ports RTMClient // // Package mocks is a generated GoMock package. package mocks import ( context "context" reflect "reflect" gomock "go.uber.org/mock/gomock" ) // MockRTMClient is a mock of RTMClient interface. type MockRTMClient struct { ctrl *gomock.Controller recorder *MockRTMClientMockRecorder isgomock struct{} } // MockRTMClientMockRecorder is the mock recorder for MockRTMClient. type MockRTMClientMockRecorder struct { mock *MockRTMClient } // NewMockRTMClient creates a new mock instance. func NewMockRTMClient(ctrl *gomock.Controller) *MockRTMClient { mock := &MockRTMClient{ctrl: ctrl} mock.recorder = &MockRTMClientMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockRTMClient) EXPECT() *MockRTMClientMockRecorder { return m.recorder } // Patch mocks base method. func (m *MockRTMClient) Patch(ctx context.Context, gameID, imageRef string) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Patch", ctx, gameID, imageRef) ret0, _ := ret[0].(error) return ret0 } // Patch indicates an expected call of Patch. func (mr *MockRTMClientMockRecorder) Patch(ctx, gameID, imageRef any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Patch", reflect.TypeOf((*MockRTMClient)(nil).Patch), ctx, gameID, imageRef) } // Stop mocks base method. func (m *MockRTMClient) Stop(ctx context.Context, gameID, reason string) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Stop", ctx, gameID, reason) ret0, _ := ret[0].(error) return ret0 } // Stop indicates an expected call of Stop. func (mr *MockRTMClientMockRecorder) Stop(ctx, gameID, reason any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Stop", reflect.TypeOf((*MockRTMClient)(nil).Stop), ctx, gameID, reason) }