mock_deepl

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_deepl is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAPIClient

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

MockAPIClient is a mock of APIClient interface.

func NewMockAPIClient

func NewMockAPIClient(ctrl *gomock.Controller) *MockAPIClient

NewMockAPIClient creates a new mock instance.

func (*MockAPIClient) EXPECT

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

func (*MockAPIClient) Translate

func (m *MockAPIClient) Translate(arg0 context.Context, arg1, arg2, arg3 string) (*deepl.Translate, error)

Translate mocks base method.

type MockAPIClientMockRecorder

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

MockAPIClientMockRecorder is the mock recorder for MockAPIClient.

func (*MockAPIClientMockRecorder) Translate

func (mr *MockAPIClientMockRecorder) Translate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Translate indicates an expected call of Translate.

Jump to

Keyboard shortcuts

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