// Code generated by MockGen. DO NOT EDIT.
// Source: ../utils/msmq.go
//
// Generated by this command:
//
//	mockgen -package mock -source ../utils/msmq.go -destination ../mock/mock_msmq.go
//

// Package mock is a generated GoMock package.
package mock

import (
	reflect "reflect"

	gomock "go.uber.org/mock/gomock"
)

// MockMsmqClient is a mock of MsmqClient interface.
type MockMsmqClient struct {
	ctrl     *gomock.Controller
	recorder *MockMsmqClientMockRecorder
	isgomock struct{}
}

// MockMsmqClientMockRecorder is the mock recorder for MockMsmqClient.
type MockMsmqClientMockRecorder struct {
	mock *MockMsmqClient
}

// NewMockMsmqClient creates a new mock instance.
func NewMockMsmqClient(ctrl *gomock.Controller) *MockMsmqClient {
	mock := &MockMsmqClient{ctrl: ctrl}
	mock.recorder = &MockMsmqClientMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockMsmqClient) EXPECT() *MockMsmqClientMockRecorder {
	return m.recorder
}

// Publish mocks base method.
func (m *MockMsmqClient) Publish(topic string, message []byte) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Publish", topic, message)
	ret0, _ := ret[0].(error)
	return ret0
}

// Publish indicates an expected call of Publish.
func (mr *MockMsmqClientMockRecorder) Publish(topic, message any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Publish", reflect.TypeOf((*MockMsmqClient)(nil).Publish), topic, message)
}

// Subscribe mocks base method.
func (m *MockMsmqClient) Subscribe(topic, channel string, cmd func([]byte) error) {
	m.ctrl.T.Helper()
	m.ctrl.Call(m, "Subscribe", topic, channel, cmd)
}

// Subscribe indicates an expected call of Subscribe.
func (mr *MockMsmqClientMockRecorder) Subscribe(topic, channel, cmd any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Subscribe", reflect.TypeOf((*MockMsmqClient)(nil).Subscribe), topic, channel, cmd)
}
