Documentation
¶
Index ¶
- type CreditService
- type CreditService_Add_Call
- func (_c *CreditService_Add_Call) Return(_a0 error) *CreditService_Add_Call
- func (_c *CreditService_Add_Call) Run(run func(ctx context.Context, cred credit.Credit)) *CreditService_Add_Call
- func (_c *CreditService_Add_Call) RunAndReturn(run func(context.Context, credit.Credit) error) *CreditService_Add_Call
- type CreditService_Expecter
- type CreditService_GetByID_Call
- func (_c *CreditService_GetByID_Call) Return(_a0 credit.Transaction, _a1 error) *CreditService_GetByID_Call
- func (_c *CreditService_GetByID_Call) Run(run func(ctx context.Context, id string)) *CreditService_GetByID_Call
- func (_c *CreditService_GetByID_Call) RunAndReturn(run func(context.Context, string) (credit.Transaction, error)) *CreditService_GetByID_Call
- type CustomerService
- type CustomerService_Expecter
- type CustomerService_GetByID_Call
- func (_c *CustomerService_GetByID_Call) Return(_a0 customer.Customer, _a1 error) *CustomerService_GetByID_Call
- func (_c *CustomerService_GetByID_Call) Run(run func(ctx context.Context, id string)) *CustomerService_GetByID_Call
- func (_c *CustomerService_GetByID_Call) RunAndReturn(run func(context.Context, string) (customer.Customer, error)) *CustomerService_GetByID_Call
- type CustomerService_List_Call
- func (_c *CustomerService_List_Call) Return(_a0 []customer.Customer, _a1 error) *CustomerService_List_Call
- func (_c *CustomerService_List_Call) Run(run func(ctx context.Context, filter customer.Filter)) *CustomerService_List_Call
- func (_c *CustomerService_List_Call) RunAndReturn(run func(context.Context, customer.Filter) ([]customer.Customer, error)) *CustomerService_List_Call
- type OrganizationService
- type OrganizationService_Expecter
- type OrganizationService_MemberCount_Call
- func (_c *OrganizationService_MemberCount_Call) Return(_a0 int64, _a1 error) *OrganizationService_MemberCount_Call
- func (_c *OrganizationService_MemberCount_Call) Run(run func(ctx context.Context, orgID string)) *OrganizationService_MemberCount_Call
- func (_c *OrganizationService_MemberCount_Call) RunAndReturn(run func(context.Context, string) (int64, error)) *OrganizationService_MemberCount_Call
- type PlanService
- type PlanService_Expecter
- type PlanService_GetByID_Call
- func (_c *PlanService_GetByID_Call) Return(_a0 plan.Plan, _a1 error) *PlanService_GetByID_Call
- func (_c *PlanService_GetByID_Call) Run(run func(ctx context.Context, id string)) *PlanService_GetByID_Call
- func (_c *PlanService_GetByID_Call) RunAndReturn(run func(context.Context, string) (plan.Plan, error)) *PlanService_GetByID_Call
- type PlanService_List_Call
- func (_c *PlanService_List_Call) Return(_a0 []plan.Plan, _a1 error) *PlanService_List_Call
- func (_c *PlanService_List_Call) Run(run func(ctx context.Context, filter plan.Filter)) *PlanService_List_Call
- func (_c *PlanService_List_Call) RunAndReturn(run func(context.Context, plan.Filter) ([]plan.Plan, error)) *PlanService_List_Call
- type ProductService
- type ProductService_Expecter
- type ProductService_GetByProviderID_Call
- func (_c *ProductService_GetByProviderID_Call) Return(_a0 product.Product, _a1 error) *ProductService_GetByProviderID_Call
- func (_c *ProductService_GetByProviderID_Call) Run(run func(ctx context.Context, id string)) *ProductService_GetByProviderID_Call
- func (_c *ProductService_GetByProviderID_Call) RunAndReturn(run func(context.Context, string) (product.Product, error)) *ProductService_GetByProviderID_Call
- type Repository
- func (_m *Repository) Create(ctx context.Context, subs subscription.Subscription) (subscription.Subscription, error)
- func (_m *Repository) Delete(ctx context.Context, id string) error
- func (_m *Repository) EXPECT() *Repository_Expecter
- func (_m *Repository) GetByID(ctx context.Context, id string) (subscription.Subscription, error)
- func (_m *Repository) GetByProviderID(ctx context.Context, id string) (subscription.Subscription, error)
- func (_m *Repository) List(ctx context.Context, filter subscription.Filter) ([]subscription.Subscription, error)
- func (_m *Repository) UpdateByID(ctx context.Context, subs subscription.Subscription) (subscription.Subscription, error)
- type Repository_Create_Call
- func (_c *Repository_Create_Call) Return(_a0 subscription.Subscription, _a1 error) *Repository_Create_Call
- func (_c *Repository_Create_Call) Run(run func(ctx context.Context, subs subscription.Subscription)) *Repository_Create_Call
- func (_c *Repository_Create_Call) RunAndReturn(...) *Repository_Create_Call
- type Repository_Delete_Call
- type Repository_Expecter
- func (_e *Repository_Expecter) Create(ctx interface{}, subs interface{}) *Repository_Create_Call
- func (_e *Repository_Expecter) Delete(ctx interface{}, id interface{}) *Repository_Delete_Call
- func (_e *Repository_Expecter) GetByID(ctx interface{}, id interface{}) *Repository_GetByID_Call
- func (_e *Repository_Expecter) GetByProviderID(ctx interface{}, id interface{}) *Repository_GetByProviderID_Call
- func (_e *Repository_Expecter) List(ctx interface{}, filter interface{}) *Repository_List_Call
- func (_e *Repository_Expecter) UpdateByID(ctx interface{}, subs interface{}) *Repository_UpdateByID_Call
- type Repository_GetByID_Call
- func (_c *Repository_GetByID_Call) Return(_a0 subscription.Subscription, _a1 error) *Repository_GetByID_Call
- func (_c *Repository_GetByID_Call) Run(run func(ctx context.Context, id string)) *Repository_GetByID_Call
- func (_c *Repository_GetByID_Call) RunAndReturn(run func(context.Context, string) (subscription.Subscription, error)) *Repository_GetByID_Call
- type Repository_GetByProviderID_Call
- func (_c *Repository_GetByProviderID_Call) Return(_a0 subscription.Subscription, _a1 error) *Repository_GetByProviderID_Call
- func (_c *Repository_GetByProviderID_Call) Run(run func(ctx context.Context, id string)) *Repository_GetByProviderID_Call
- func (_c *Repository_GetByProviderID_Call) RunAndReturn(run func(context.Context, string) (subscription.Subscription, error)) *Repository_GetByProviderID_Call
- type Repository_List_Call
- type Repository_UpdateByID_Call
- func (_c *Repository_UpdateByID_Call) Return(_a0 subscription.Subscription, _a1 error) *Repository_UpdateByID_Call
- func (_c *Repository_UpdateByID_Call) Run(run func(ctx context.Context, subs subscription.Subscription)) *Repository_UpdateByID_Call
- func (_c *Repository_UpdateByID_Call) RunAndReturn(...) *Repository_UpdateByID_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreditService ¶
CreditService is an autogenerated mock type for the CreditService type
func NewCreditService ¶
func NewCreditService(t interface {
mock.TestingT
Cleanup(func())
}) *CreditService
NewCreditService creates a new instance of CreditService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CreditService) EXPECT ¶
func (_m *CreditService) EXPECT() *CreditService_Expecter
func (*CreditService) GetByID ¶
func (_m *CreditService) GetByID(ctx context.Context, id string) (credit.Transaction, error)
GetByID provides a mock function with given fields: ctx, id
type CreditService_Add_Call ¶
CreditService_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*CreditService_Add_Call) Return ¶
func (_c *CreditService_Add_Call) Return(_a0 error) *CreditService_Add_Call
func (*CreditService_Add_Call) Run ¶
func (_c *CreditService_Add_Call) Run(run func(ctx context.Context, cred credit.Credit)) *CreditService_Add_Call
func (*CreditService_Add_Call) RunAndReturn ¶
func (_c *CreditService_Add_Call) RunAndReturn(run func(context.Context, credit.Credit) error) *CreditService_Add_Call
type CreditService_Expecter ¶
type CreditService_Expecter struct {
// contains filtered or unexported fields
}
func (*CreditService_Expecter) Add ¶
func (_e *CreditService_Expecter) Add(ctx interface{}, cred interface{}) *CreditService_Add_Call
Add is a helper method to define mock.On call
- ctx context.Context
- cred credit.Credit
func (*CreditService_Expecter) GetByID ¶
func (_e *CreditService_Expecter) GetByID(ctx interface{}, id interface{}) *CreditService_GetByID_Call
GetByID is a helper method to define mock.On call
- ctx context.Context
- id string
type CreditService_GetByID_Call ¶
CreditService_GetByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByID'
func (*CreditService_GetByID_Call) Return ¶
func (_c *CreditService_GetByID_Call) Return(_a0 credit.Transaction, _a1 error) *CreditService_GetByID_Call
func (*CreditService_GetByID_Call) Run ¶
func (_c *CreditService_GetByID_Call) Run(run func(ctx context.Context, id string)) *CreditService_GetByID_Call
func (*CreditService_GetByID_Call) RunAndReturn ¶
func (_c *CreditService_GetByID_Call) RunAndReturn(run func(context.Context, string) (credit.Transaction, error)) *CreditService_GetByID_Call
type CustomerService ¶
CustomerService is an autogenerated mock type for the CustomerService type
func NewCustomerService ¶
func NewCustomerService(t interface {
mock.TestingT
Cleanup(func())
}) *CustomerService
NewCustomerService creates a new instance of CustomerService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CustomerService) EXPECT ¶
func (_m *CustomerService) EXPECT() *CustomerService_Expecter
type CustomerService_Expecter ¶
type CustomerService_Expecter struct {
// contains filtered or unexported fields
}
func (*CustomerService_Expecter) GetByID ¶
func (_e *CustomerService_Expecter) GetByID(ctx interface{}, id interface{}) *CustomerService_GetByID_Call
GetByID is a helper method to define mock.On call
- ctx context.Context
- id string
func (*CustomerService_Expecter) List ¶
func (_e *CustomerService_Expecter) List(ctx interface{}, filter interface{}) *CustomerService_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- filter customer.Filter
type CustomerService_GetByID_Call ¶
CustomerService_GetByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByID'
func (*CustomerService_GetByID_Call) Return ¶
func (_c *CustomerService_GetByID_Call) Return(_a0 customer.Customer, _a1 error) *CustomerService_GetByID_Call
func (*CustomerService_GetByID_Call) Run ¶
func (_c *CustomerService_GetByID_Call) Run(run func(ctx context.Context, id string)) *CustomerService_GetByID_Call
func (*CustomerService_GetByID_Call) RunAndReturn ¶
func (_c *CustomerService_GetByID_Call) RunAndReturn(run func(context.Context, string) (customer.Customer, error)) *CustomerService_GetByID_Call
type CustomerService_List_Call ¶
CustomerService_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*CustomerService_List_Call) Return ¶
func (_c *CustomerService_List_Call) Return(_a0 []customer.Customer, _a1 error) *CustomerService_List_Call
func (*CustomerService_List_Call) Run ¶
func (_c *CustomerService_List_Call) Run(run func(ctx context.Context, filter customer.Filter)) *CustomerService_List_Call
func (*CustomerService_List_Call) RunAndReturn ¶
func (_c *CustomerService_List_Call) RunAndReturn(run func(context.Context, customer.Filter) ([]customer.Customer, error)) *CustomerService_List_Call
type OrganizationService ¶
OrganizationService is an autogenerated mock type for the OrganizationService type
func NewOrganizationService ¶
func NewOrganizationService(t interface {
mock.TestingT
Cleanup(func())
}) *OrganizationService
NewOrganizationService creates a new instance of OrganizationService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*OrganizationService) EXPECT ¶
func (_m *OrganizationService) EXPECT() *OrganizationService_Expecter
func (*OrganizationService) MemberCount ¶
MemberCount provides a mock function with given fields: ctx, orgID
type OrganizationService_Expecter ¶
type OrganizationService_Expecter struct {
// contains filtered or unexported fields
}
func (*OrganizationService_Expecter) MemberCount ¶
func (_e *OrganizationService_Expecter) MemberCount(ctx interface{}, orgID interface{}) *OrganizationService_MemberCount_Call
MemberCount is a helper method to define mock.On call
- ctx context.Context
- orgID string
type OrganizationService_MemberCount_Call ¶
OrganizationService_MemberCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MemberCount'
func (*OrganizationService_MemberCount_Call) Return ¶
func (_c *OrganizationService_MemberCount_Call) Return(_a0 int64, _a1 error) *OrganizationService_MemberCount_Call
func (*OrganizationService_MemberCount_Call) Run ¶
func (_c *OrganizationService_MemberCount_Call) Run(run func(ctx context.Context, orgID string)) *OrganizationService_MemberCount_Call
func (*OrganizationService_MemberCount_Call) RunAndReturn ¶
func (_c *OrganizationService_MemberCount_Call) RunAndReturn(run func(context.Context, string) (int64, error)) *OrganizationService_MemberCount_Call
type PlanService ¶
PlanService is an autogenerated mock type for the PlanService type
func NewPlanService ¶
func NewPlanService(t interface {
mock.TestingT
Cleanup(func())
}) *PlanService
NewPlanService creates a new instance of PlanService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*PlanService) EXPECT ¶
func (_m *PlanService) EXPECT() *PlanService_Expecter
type PlanService_Expecter ¶
type PlanService_Expecter struct {
// contains filtered or unexported fields
}
func (*PlanService_Expecter) GetByID ¶
func (_e *PlanService_Expecter) GetByID(ctx interface{}, id interface{}) *PlanService_GetByID_Call
GetByID is a helper method to define mock.On call
- ctx context.Context
- id string
func (*PlanService_Expecter) List ¶
func (_e *PlanService_Expecter) List(ctx interface{}, filter interface{}) *PlanService_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- filter plan.Filter
type PlanService_GetByID_Call ¶
PlanService_GetByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByID'
func (*PlanService_GetByID_Call) Return ¶
func (_c *PlanService_GetByID_Call) Return(_a0 plan.Plan, _a1 error) *PlanService_GetByID_Call
func (*PlanService_GetByID_Call) Run ¶
func (_c *PlanService_GetByID_Call) Run(run func(ctx context.Context, id string)) *PlanService_GetByID_Call
func (*PlanService_GetByID_Call) RunAndReturn ¶
func (_c *PlanService_GetByID_Call) RunAndReturn(run func(context.Context, string) (plan.Plan, error)) *PlanService_GetByID_Call
type PlanService_List_Call ¶
PlanService_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*PlanService_List_Call) Return ¶
func (_c *PlanService_List_Call) Return(_a0 []plan.Plan, _a1 error) *PlanService_List_Call
func (*PlanService_List_Call) Run ¶
func (_c *PlanService_List_Call) Run(run func(ctx context.Context, filter plan.Filter)) *PlanService_List_Call
func (*PlanService_List_Call) RunAndReturn ¶
func (_c *PlanService_List_Call) RunAndReturn(run func(context.Context, plan.Filter) ([]plan.Plan, error)) *PlanService_List_Call
type ProductService ¶
ProductService is an autogenerated mock type for the ProductService type
func NewProductService ¶
func NewProductService(t interface {
mock.TestingT
Cleanup(func())
}) *ProductService
NewProductService creates a new instance of ProductService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ProductService) EXPECT ¶
func (_m *ProductService) EXPECT() *ProductService_Expecter
func (*ProductService) GetByProviderID ¶
GetByProviderID provides a mock function with given fields: ctx, id
type ProductService_Expecter ¶
type ProductService_Expecter struct {
// contains filtered or unexported fields
}
func (*ProductService_Expecter) GetByProviderID ¶
func (_e *ProductService_Expecter) GetByProviderID(ctx interface{}, id interface{}) *ProductService_GetByProviderID_Call
GetByProviderID is a helper method to define mock.On call
- ctx context.Context
- id string
type ProductService_GetByProviderID_Call ¶
ProductService_GetByProviderID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByProviderID'
func (*ProductService_GetByProviderID_Call) Return ¶
func (_c *ProductService_GetByProviderID_Call) Return(_a0 product.Product, _a1 error) *ProductService_GetByProviderID_Call
func (*ProductService_GetByProviderID_Call) Run ¶
func (_c *ProductService_GetByProviderID_Call) Run(run func(ctx context.Context, id string)) *ProductService_GetByProviderID_Call
func (*ProductService_GetByProviderID_Call) RunAndReturn ¶
func (_c *ProductService_GetByProviderID_Call) RunAndReturn(run func(context.Context, string) (product.Product, error)) *ProductService_GetByProviderID_Call
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func NewRepository ¶
func NewRepository(t interface {
mock.TestingT
Cleanup(func())
}) *Repository
NewRepository creates a new instance of Repository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Repository) Create ¶
func (_m *Repository) Create(ctx context.Context, subs subscription.Subscription) (subscription.Subscription, error)
Create provides a mock function with given fields: ctx, subs
func (*Repository) Delete ¶
func (_m *Repository) Delete(ctx context.Context, id string) error
Delete provides a mock function with given fields: ctx, id
func (*Repository) EXPECT ¶
func (_m *Repository) EXPECT() *Repository_Expecter
func (*Repository) GetByID ¶
func (_m *Repository) GetByID(ctx context.Context, id string) (subscription.Subscription, error)
GetByID provides a mock function with given fields: ctx, id
func (*Repository) GetByProviderID ¶
func (_m *Repository) GetByProviderID(ctx context.Context, id string) (subscription.Subscription, error)
GetByProviderID provides a mock function with given fields: ctx, id
func (*Repository) List ¶
func (_m *Repository) List(ctx context.Context, filter subscription.Filter) ([]subscription.Subscription, error)
List provides a mock function with given fields: ctx, filter
func (*Repository) UpdateByID ¶
func (_m *Repository) UpdateByID(ctx context.Context, subs subscription.Subscription) (subscription.Subscription, error)
UpdateByID provides a mock function with given fields: ctx, subs
type Repository_Create_Call ¶
Repository_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Repository_Create_Call) Return ¶
func (_c *Repository_Create_Call) Return(_a0 subscription.Subscription, _a1 error) *Repository_Create_Call
func (*Repository_Create_Call) Run ¶
func (_c *Repository_Create_Call) Run(run func(ctx context.Context, subs subscription.Subscription)) *Repository_Create_Call
func (*Repository_Create_Call) RunAndReturn ¶
func (_c *Repository_Create_Call) RunAndReturn(run func(context.Context, subscription.Subscription) (subscription.Subscription, error)) *Repository_Create_Call
type Repository_Delete_Call ¶
Repository_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Repository_Delete_Call) Return ¶
func (_c *Repository_Delete_Call) Return(_a0 error) *Repository_Delete_Call
func (*Repository_Delete_Call) Run ¶
func (_c *Repository_Delete_Call) Run(run func(ctx context.Context, id string)) *Repository_Delete_Call
func (*Repository_Delete_Call) RunAndReturn ¶
func (_c *Repository_Delete_Call) RunAndReturn(run func(context.Context, string) error) *Repository_Delete_Call
type Repository_Expecter ¶
type Repository_Expecter struct {
// contains filtered or unexported fields
}
func (*Repository_Expecter) Create ¶
func (_e *Repository_Expecter) Create(ctx interface{}, subs interface{}) *Repository_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- subs subscription.Subscription
func (*Repository_Expecter) Delete ¶
func (_e *Repository_Expecter) Delete(ctx interface{}, id interface{}) *Repository_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- id string
func (*Repository_Expecter) GetByID ¶
func (_e *Repository_Expecter) GetByID(ctx interface{}, id interface{}) *Repository_GetByID_Call
GetByID is a helper method to define mock.On call
- ctx context.Context
- id string
func (*Repository_Expecter) GetByProviderID ¶
func (_e *Repository_Expecter) GetByProviderID(ctx interface{}, id interface{}) *Repository_GetByProviderID_Call
GetByProviderID is a helper method to define mock.On call
- ctx context.Context
- id string
func (*Repository_Expecter) List ¶
func (_e *Repository_Expecter) List(ctx interface{}, filter interface{}) *Repository_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- filter subscription.Filter
func (*Repository_Expecter) UpdateByID ¶
func (_e *Repository_Expecter) UpdateByID(ctx interface{}, subs interface{}) *Repository_UpdateByID_Call
UpdateByID is a helper method to define mock.On call
- ctx context.Context
- subs subscription.Subscription
type Repository_GetByID_Call ¶
Repository_GetByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByID'
func (*Repository_GetByID_Call) Return ¶
func (_c *Repository_GetByID_Call) Return(_a0 subscription.Subscription, _a1 error) *Repository_GetByID_Call
func (*Repository_GetByID_Call) Run ¶
func (_c *Repository_GetByID_Call) Run(run func(ctx context.Context, id string)) *Repository_GetByID_Call
func (*Repository_GetByID_Call) RunAndReturn ¶
func (_c *Repository_GetByID_Call) RunAndReturn(run func(context.Context, string) (subscription.Subscription, error)) *Repository_GetByID_Call
type Repository_GetByProviderID_Call ¶
Repository_GetByProviderID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByProviderID'
func (*Repository_GetByProviderID_Call) Return ¶
func (_c *Repository_GetByProviderID_Call) Return(_a0 subscription.Subscription, _a1 error) *Repository_GetByProviderID_Call
func (*Repository_GetByProviderID_Call) Run ¶
func (_c *Repository_GetByProviderID_Call) Run(run func(ctx context.Context, id string)) *Repository_GetByProviderID_Call
func (*Repository_GetByProviderID_Call) RunAndReturn ¶
func (_c *Repository_GetByProviderID_Call) RunAndReturn(run func(context.Context, string) (subscription.Subscription, error)) *Repository_GetByProviderID_Call
type Repository_List_Call ¶
Repository_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*Repository_List_Call) Return ¶
func (_c *Repository_List_Call) Return(_a0 []subscription.Subscription, _a1 error) *Repository_List_Call
func (*Repository_List_Call) Run ¶
func (_c *Repository_List_Call) Run(run func(ctx context.Context, filter subscription.Filter)) *Repository_List_Call
func (*Repository_List_Call) RunAndReturn ¶
func (_c *Repository_List_Call) RunAndReturn(run func(context.Context, subscription.Filter) ([]subscription.Subscription, error)) *Repository_List_Call
type Repository_UpdateByID_Call ¶
Repository_UpdateByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateByID'
func (*Repository_UpdateByID_Call) Return ¶
func (_c *Repository_UpdateByID_Call) Return(_a0 subscription.Subscription, _a1 error) *Repository_UpdateByID_Call
func (*Repository_UpdateByID_Call) Run ¶
func (_c *Repository_UpdateByID_Call) Run(run func(ctx context.Context, subs subscription.Subscription)) *Repository_UpdateByID_Call
func (*Repository_UpdateByID_Call) RunAndReturn ¶
func (_c *Repository_UpdateByID_Call) RunAndReturn(run func(context.Context, subscription.Subscription) (subscription.Subscription, error)) *Repository_UpdateByID_Call