mock

package
v0.0.0-...-36feab7 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	// contains filtered or unexported fields
}

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) Create

Create mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClient) Follow

func (m *MockClient) Follow(userReferenceID, followerReferenceID string) error

Follow mocks base method.

func (*MockClient) GetClaims

GetClaims mocks base method.

func (*MockClient) GetIDByReference

func (m *MockClient) GetIDByReference(referenceID string) (*int, error)

GetIDByReference mocks base method.

func (*MockClient) GetInfo

func (m *MockClient) GetInfo(userReferenceID string) (*users.Info, error)

GetInfo mocks base method.

func (*MockClient) GetProfile

func (m *MockClient) GetProfile(username, userReferenceID string) (*users.Profile, error)

GetProfile mocks base method.

func (*MockClient) Unfollow

func (m *MockClient) Unfollow(userReferenceID, followerReferenceID string) error

Unfollow mocks base method.

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) Create

func (mr *MockClientMockRecorder) Create(in interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockClientMockRecorder) Follow

func (mr *MockClientMockRecorder) Follow(userReferenceID, followerReferenceID interface{}) *gomock.Call

Follow indicates an expected call of Follow.

func (*MockClientMockRecorder) GetClaims

func (mr *MockClientMockRecorder) GetClaims(in interface{}) *gomock.Call

GetClaims indicates an expected call of GetClaims.

func (*MockClientMockRecorder) GetIDByReference

func (mr *MockClientMockRecorder) GetIDByReference(referenceID interface{}) *gomock.Call

GetIDByReference indicates an expected call of GetIDByReference.

func (*MockClientMockRecorder) GetInfo

func (mr *MockClientMockRecorder) GetInfo(userReferenceID interface{}) *gomock.Call

GetInfo indicates an expected call of GetInfo.

func (*MockClientMockRecorder) GetProfile

func (mr *MockClientMockRecorder) GetProfile(username, userReferenceID interface{}) *gomock.Call

GetProfile indicates an expected call of GetProfile.

func (*MockClientMockRecorder) Unfollow

func (mr *MockClientMockRecorder) Unfollow(userReferenceID, followerReferenceID interface{}) *gomock.Call

Unfollow indicates an expected call of Unfollow.

Jump to

Keyboard shortcuts

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