...

Source file src/edge-infra.dev/pkg/edge/api/mocks/mock_pub_sub_service.go

Documentation: edge-infra.dev/pkg/edge/api/mocks

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: edge-infra.dev/pkg/edge/api/types (interfaces: PubSubService)
     3  
     4  // Package mocks is a generated GoMock package.
     5  package mocks
     6  
     7  import (
     8  	context "context"
     9  	reflect "reflect"
    10  
    11  	gomock "github.com/golang/mock/gomock"
    12  )
    13  
    14  // MockPubSubService is a mock of PubSubService interface.
    15  type MockPubSubService struct {
    16  	ctrl     *gomock.Controller
    17  	recorder *MockPubSubServiceMockRecorder
    18  }
    19  
    20  // MockPubSubServiceMockRecorder is the mock recorder for MockPubSubService.
    21  type MockPubSubServiceMockRecorder struct {
    22  	mock *MockPubSubService
    23  }
    24  
    25  // NewMockPubSubService creates a new mock instance.
    26  func NewMockPubSubService(ctrl *gomock.Controller) *MockPubSubService {
    27  	mock := &MockPubSubService{ctrl: ctrl}
    28  	mock.recorder = &MockPubSubServiceMockRecorder{mock}
    29  	return mock
    30  }
    31  
    32  // EXPECT returns an object that allows the caller to indicate expected use.
    33  func (m *MockPubSubService) EXPECT() *MockPubSubServiceMockRecorder {
    34  	return m.recorder
    35  }
    36  
    37  // Send mocks base method.
    38  func (m *MockPubSubService) Send(arg0 context.Context, arg1 string, arg2 []byte, arg3 map[string]string) error {
    39  	m.ctrl.T.Helper()
    40  	ret := m.ctrl.Call(m, "Send", arg0, arg1, arg2, arg3)
    41  	ret0, _ := ret[0].(error)
    42  	return ret0
    43  }
    44  
    45  // Send indicates an expected call of Send.
    46  func (mr *MockPubSubServiceMockRecorder) Send(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
    47  	mr.mock.ctrl.T.Helper()
    48  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockPubSubService)(nil).Send), arg0, arg1, arg2, arg3)
    49  }
    50  

View as plain text