-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathmock_queued_message.go
53 lines (44 loc) · 1.5 KB
/
mock_queued_message.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/golang-queue/queue/core (interfaces: QueuedMessage)
//
// Generated by this command:
//
// mockgen -package=mocks -destination=mock_queued_message.go github.com/golang-queue/queue/core QueuedMessage
//
// Package mocks is a generated GoMock package.
package mocks
import (
reflect "reflect"
gomock "go.uber.org/mock/gomock"
)
// MockQueuedMessage is a mock of QueuedMessage interface.
type MockQueuedMessage struct {
ctrl *gomock.Controller
recorder *MockQueuedMessageMockRecorder
}
// MockQueuedMessageMockRecorder is the mock recorder for MockQueuedMessage.
type MockQueuedMessageMockRecorder struct {
mock *MockQueuedMessage
}
// NewMockQueuedMessage creates a new mock instance.
func NewMockQueuedMessage(ctrl *gomock.Controller) *MockQueuedMessage {
mock := &MockQueuedMessage{ctrl: ctrl}
mock.recorder = &MockQueuedMessageMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockQueuedMessage) EXPECT() *MockQueuedMessageMockRecorder {
return m.recorder
}
// Bytes mocks base method.
func (m *MockQueuedMessage) Bytes() []byte {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Bytes")
ret0, _ := ret[0].([]byte)
return ret0
}
// Bytes indicates an expected call of Bytes.
func (mr *MockQueuedMessageMockRecorder) Bytes() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bytes", reflect.TypeOf((*MockQueuedMessage)(nil).Bytes))
}