mocks

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockCategoriesService

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

MockCategoriesService is a mock of CategoriesService interface.

func NewMockCategoriesService

func NewMockCategoriesService(ctrl *gomock.Controller) *MockCategoriesService

NewMockCategoriesService creates a new mock instance.

func (*MockCategoriesService) EXPECT

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

func (*MockCategoriesService) Get

func (m *MockCategoriesService) Get(categoryID string) (*gocancel.Category, error)

Get mocks base method.

func (*MockCategoriesService) List

List mocks base method.

type MockCategoriesServiceMockRecorder

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

MockCategoriesServiceMockRecorder is the mock recorder for MockCategoriesService.

func (*MockCategoriesServiceMockRecorder) Get

func (mr *MockCategoriesServiceMockRecorder) Get(categoryID interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockCategoriesServiceMockRecorder) List

func (mr *MockCategoriesServiceMockRecorder) List(opts interface{}) *gomock.Call

List indicates an expected call of List.

type MockLettersService

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

MockLettersService is a mock of LettersService interface.

func NewMockLettersService

func NewMockLettersService(ctrl *gomock.Controller) *MockLettersService

NewMockLettersService creates a new mock instance.

func (*MockLettersService) Create

Create mocks base method.

func (*MockLettersService) EXPECT

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

func (*MockLettersService) Get

func (m *MockLettersService) Get(letterID string) (*gocancel.Letter, error)

Get mocks base method.

func (*MockLettersService) List

func (m *MockLettersService) List() ([]*gocancel.Letter, error)

List mocks base method.

type MockLettersServiceMockRecorder

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

MockLettersServiceMockRecorder is the mock recorder for MockLettersService.

func (*MockLettersServiceMockRecorder) Create

func (mr *MockLettersServiceMockRecorder) Create(request interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockLettersServiceMockRecorder) Get

func (mr *MockLettersServiceMockRecorder) Get(letterID interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockLettersServiceMockRecorder) List

List indicates an expected call of List.

type MockOrganizationsService

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

MockOrganizationsService is a mock of OrganizationsService interface.

func NewMockOrganizationsService

func NewMockOrganizationsService(ctrl *gomock.Controller) *MockOrganizationsService

NewMockOrganizationsService creates a new mock instance.

func (*MockOrganizationsService) EXPECT

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

func (*MockOrganizationsService) Get

func (m *MockOrganizationsService) Get(organizationID string) (*gocancel.Organization, error)

Get mocks base method.

func (*MockOrganizationsService) GetProduct

func (m *MockOrganizationsService) GetProduct(organizationID, productID string) (*gocancel.Product, error)

GetProduct mocks base method.

func (*MockOrganizationsService) List

List mocks base method.

func (*MockOrganizationsService) ListProducts

func (m *MockOrganizationsService) ListProducts(organizationID string, opts *gocancel.OrganizationProductsListOptions) ([]*gocancel.Product, error)

ListProducts mocks base method.

type MockOrganizationsServiceMockRecorder

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

MockOrganizationsServiceMockRecorder is the mock recorder for MockOrganizationsService.

func (*MockOrganizationsServiceMockRecorder) Get

func (mr *MockOrganizationsServiceMockRecorder) Get(organizationID interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockOrganizationsServiceMockRecorder) GetProduct

func (mr *MockOrganizationsServiceMockRecorder) GetProduct(organizationID, productID interface{}) *gomock.Call

GetProduct indicates an expected call of GetProduct.

func (*MockOrganizationsServiceMockRecorder) List

func (mr *MockOrganizationsServiceMockRecorder) List(opts interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockOrganizationsServiceMockRecorder) ListProducts

func (mr *MockOrganizationsServiceMockRecorder) ListProducts(organizationID, opts interface{}) *gomock.Call

ListProducts indicates an expected call of ListProducts.

type MockProductsService

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

MockProductsService is a mock of ProductsService interface.

func NewMockProductsService

func NewMockProductsService(ctrl *gomock.Controller) *MockProductsService

NewMockProductsService creates a new mock instance.

func (*MockProductsService) EXPECT

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

func (*MockProductsService) Get

func (m *MockProductsService) Get(productID string) (*gocancel.Product, error)

Get mocks base method.

type MockProductsServiceMockRecorder

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

MockProductsServiceMockRecorder is the mock recorder for MockProductsService.

func (*MockProductsServiceMockRecorder) Get

func (mr *MockProductsServiceMockRecorder) Get(productID interface{}) *gomock.Call

Get indicates an expected call of Get.

Jump to

Keyboard shortcuts

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