Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSerializer ¶
type MockSerializer struct {
// contains filtered or unexported fields
}
MockSerializer is a mock of Serializer interface
func NewMockSerializer ¶
func NewMockSerializer(ctrl *gomock.Controller) *MockSerializer
NewMockSerializer creates a new mock instance
func (*MockSerializer) EXPECT ¶
func (m *MockSerializer) EXPECT() *MockSerializerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSerializer) GetName ¶
func (m *MockSerializer) GetName() string
GetName mocks base method
func (*MockSerializer) Marshal ¶
func (m *MockSerializer) Marshal(arg0 interface{}) ([]byte, error)
Marshal mocks base method
func (*MockSerializer) Unmarshal ¶
func (m *MockSerializer) Unmarshal(arg0 []byte, arg1 interface{}) error
Unmarshal mocks base method
type MockSerializerMockRecorder ¶
type MockSerializerMockRecorder struct {
// contains filtered or unexported fields
}
MockSerializerMockRecorder is the mock recorder for MockSerializer
func (*MockSerializerMockRecorder) GetName ¶
func (mr *MockSerializerMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName
func (*MockSerializerMockRecorder) Marshal ¶
func (mr *MockSerializerMockRecorder) Marshal(arg0 interface{}) *gomock.Call
Marshal indicates an expected call of Marshal
func (*MockSerializerMockRecorder) Unmarshal ¶
func (mr *MockSerializerMockRecorder) Unmarshal(arg0, arg1 interface{}) *gomock.Call
Unmarshal indicates an expected call of Unmarshal
Click to show internal directories.
Click to hide internal directories.