mocks

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2019 License: MIT Imports: 2 Imported by: 0

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL