Documentation ¶
Overview ¶
Package biz is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IRentalBiz ¶
type IRentalBiz interface { ListByLocation( ctx contextx.Contextx, location *model.Location, opts ListByLocationOptions, ) (rentals []*agg.Asset, total int, err error) }
IRentalBiz is an interface for rental biz.
type ListByLocationOptions ¶
ListByLocationOptions is the options for ListByLocation.
type MockIRentalBiz ¶
type MockIRentalBiz struct {
// contains filtered or unexported fields
}
MockIRentalBiz is a mock of IRentalBiz interface.
func NewMockIRentalBiz ¶
func NewMockIRentalBiz(ctrl *gomock.Controller) *MockIRentalBiz
NewMockIRentalBiz creates a new mock instance.
func (*MockIRentalBiz) EXPECT ¶
func (m *MockIRentalBiz) EXPECT() *MockIRentalBizMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIRentalBiz) ListByLocation ¶
func (m *MockIRentalBiz) ListByLocation(ctx contextx.Contextx, location *model.Location, opts ListByLocationOptions) ([]*agg.Asset, int, error)
ListByLocation mocks base method.
type MockIRentalBizMockRecorder ¶
type MockIRentalBizMockRecorder struct {
// contains filtered or unexported fields
}
MockIRentalBizMockRecorder is the mock recorder for MockIRentalBiz.
func (*MockIRentalBizMockRecorder) ListByLocation ¶
func (mr *MockIRentalBizMockRecorder) ListByLocation(ctx, location, opts interface{}) *gomock.Call
ListByLocation indicates an expected call of ListByLocation.
Click to show internal directories.
Click to hide internal directories.