car

package
v0.0.0-...-4cd3371 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package car is a generated GoMock package.

Package car is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCarRepositoryInterface

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

MockCarRepositoryInterface is a mock of CarRepositoryInterface interface.

func NewMockCarRepositoryInterface

func NewMockCarRepositoryInterface(ctrl *gomock.Controller) *MockCarRepositoryInterface

NewMockCarRepositoryInterface creates a new mock instance.

func (*MockCarRepositoryInterface) CreateCar

func (m *MockCarRepositoryInterface) CreateCar(arg0 *models.Car) (*models.Car, error)

CreateCar mocks base method.

func (*MockCarRepositoryInterface) EXPECT

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

func (*MockCarRepositoryInterface) GetCarByID

func (m *MockCarRepositoryInterface) GetCarByID(arg0 uuid.UUID) (*models.Car, error)

GetCarByID mocks base method.

func (*MockCarRepositoryInterface) GetCarsByOfficeIDs

func (m *MockCarRepositoryInterface) GetCarsByOfficeIDs(arg0 *pagination.Pagination, arg1 []uuid.UUID) (*[]models.Car, error)

GetCarsByOfficeIDs mocks base method.

func (*MockCarRepositoryInterface) UpdateCarStatus

func (m *MockCarRepositoryInterface) UpdateCarStatus(arg0 *models.Car) (*models.Car, error)

UpdateCarStatus mocks base method.

type MockCarRepositoryInterfaceMockRecorder

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

MockCarRepositoryInterfaceMockRecorder is the mock recorder for MockCarRepositoryInterface.

func (*MockCarRepositoryInterfaceMockRecorder) CreateCar

func (mr *MockCarRepositoryInterfaceMockRecorder) CreateCar(arg0 interface{}) *gomock.Call

CreateCar indicates an expected call of CreateCar.

func (*MockCarRepositoryInterfaceMockRecorder) GetCarByID

func (mr *MockCarRepositoryInterfaceMockRecorder) GetCarByID(arg0 interface{}) *gomock.Call

GetCarByID indicates an expected call of GetCarByID.

func (*MockCarRepositoryInterfaceMockRecorder) GetCarsByOfficeIDs

func (mr *MockCarRepositoryInterfaceMockRecorder) GetCarsByOfficeIDs(arg0, arg1 interface{}) *gomock.Call

GetCarsByOfficeIDs indicates an expected call of GetCarsByOfficeIDs.

func (*MockCarRepositoryInterfaceMockRecorder) UpdateCarStatus

func (mr *MockCarRepositoryInterfaceMockRecorder) UpdateCarStatus(arg0 interface{}) *gomock.Call

UpdateCarStatus indicates an expected call of UpdateCarStatus.

type MockCarServiceInterface

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

MockCarServiceInterface is a mock of CarServiceInterface interface.

func NewMockCarServiceInterface

func NewMockCarServiceInterface(ctrl *gomock.Controller) *MockCarServiceInterface

NewMockCarServiceInterface creates a new mock instance.

func (*MockCarServiceInterface) CreateCar

func (m *MockCarServiceInterface) CreateCar(arg0 *models.Car) (*models.Car, error)

CreateCar mocks base method.

func (*MockCarServiceInterface) EXPECT

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

func (*MockCarServiceInterface) GetCars

GetCars mocks base method.

type MockCarServiceInterfaceMockRecorder

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

MockCarServiceInterfaceMockRecorder is the mock recorder for MockCarServiceInterface.

func (*MockCarServiceInterfaceMockRecorder) CreateCar

func (mr *MockCarServiceInterfaceMockRecorder) CreateCar(arg0 interface{}) *gomock.Call

CreateCar indicates an expected call of CreateCar.

func (*MockCarServiceInterfaceMockRecorder) GetCars

func (mr *MockCarServiceInterfaceMockRecorder) GetCars(arg0, arg1 interface{}) *gomock.Call

GetCars indicates an expected call of GetCars.

Jump to

Keyboard shortcuts

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