Documentation ¶
Overview ¶
Package car is a generated GoMock package.
Package car is a generated GoMock package.
Index ¶
- type MockCarRepositoryInterface
- func (m *MockCarRepositoryInterface) CreateCar(arg0 *models.Car) (*models.Car, error)
- func (m *MockCarRepositoryInterface) EXPECT() *MockCarRepositoryInterfaceMockRecorder
- func (m *MockCarRepositoryInterface) GetCarByID(arg0 uuid.UUID) (*models.Car, error)
- func (m *MockCarRepositoryInterface) GetCarsByOfficeIDs(arg0 *pagination.Pagination, arg1 []uuid.UUID) (*[]models.Car, error)
- func (m *MockCarRepositoryInterface) UpdateCarStatus(arg0 *models.Car) (*models.Car, error)
- type MockCarRepositoryInterfaceMockRecorder
- func (mr *MockCarRepositoryInterfaceMockRecorder) CreateCar(arg0 interface{}) *gomock.Call
- func (mr *MockCarRepositoryInterfaceMockRecorder) GetCarByID(arg0 interface{}) *gomock.Call
- func (mr *MockCarRepositoryInterfaceMockRecorder) GetCarsByOfficeIDs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCarRepositoryInterfaceMockRecorder) UpdateCarStatus(arg0 interface{}) *gomock.Call
- type MockCarServiceInterface
- type MockCarServiceInterfaceMockRecorder
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) EXPECT ¶
func (m *MockCarRepositoryInterface) EXPECT() *MockCarRepositoryInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCarRepositoryInterface) GetCarByID ¶
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 ¶
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) EXPECT ¶
func (m *MockCarServiceInterface) EXPECT() *MockCarServiceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCarServiceInterface) GetCars ¶
func (m *MockCarServiceInterface) GetCars(arg0 *pagination.Pagination, arg1 *filters.CarFilter) (*[]models.Car, error)
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.