Documentation ¶
Overview ¶
Package mock_payment is a generated GoMock package.
Package mock_payment is a generated GoMock package.
Package mock_payment is a generated GoMock package.
Package mock_payment is a generated GoMock package.
Index ¶
- type MockPaymentDomainValidation
- type MockPaymentDomainValidationMockRecorder
- type MockPaymentRepository
- func (m *MockPaymentRepository) Create(ctx context.Context, p *payment.Payment, groupID string) error
- func (m *MockPaymentRepository) Destroy(ctx context.Context, groupID, paymentID string) error
- func (m *MockPaymentRepository) EXPECT() *MockPaymentRepositoryMockRecorder
- func (m *MockPaymentRepository) Index(ctx context.Context, groupID string) ([]*payment.Payment, error)
- func (m *MockPaymentRepository) IndexByIsCompleted(ctx context.Context, groupID string, isCompleted bool) ([]*payment.Payment, error)
- func (m *MockPaymentRepository) IndexFromStartAt(ctx context.Context, groupID, startAt string) ([]*payment.Payment, error)
- func (m *MockPaymentRepository) Show(ctx context.Context, groupID, paymentID string) (*payment.Payment, error)
- func (m *MockPaymentRepository) Update(ctx context.Context, p *payment.Payment, groupID string) error
- type MockPaymentRepositoryMockRecorder
- func (mr *MockPaymentRepositoryMockRecorder) Create(ctx, p, groupID interface{}) *gomock.Call
- func (mr *MockPaymentRepositoryMockRecorder) Destroy(ctx, groupID, paymentID interface{}) *gomock.Call
- func (mr *MockPaymentRepositoryMockRecorder) Index(ctx, groupID interface{}) *gomock.Call
- func (mr *MockPaymentRepositoryMockRecorder) IndexByIsCompleted(ctx, groupID, isCompleted interface{}) *gomock.Call
- func (mr *MockPaymentRepositoryMockRecorder) IndexFromStartAt(ctx, groupID, startAt interface{}) *gomock.Call
- func (mr *MockPaymentRepositoryMockRecorder) Show(ctx, groupID, paymentID interface{}) *gomock.Call
- func (mr *MockPaymentRepositoryMockRecorder) Update(ctx, p, groupID interface{}) *gomock.Call
- type MockPaymentService
- func (m *MockPaymentService) Create(ctx context.Context, p *payment.Payment, groupID string) (*payment.Payment, error)
- func (m *MockPaymentService) Destroy(ctx context.Context, groupID, paymentID string) error
- func (m *MockPaymentService) EXPECT() *MockPaymentServiceMockRecorder
- func (m *MockPaymentService) Index(ctx context.Context, groupID, startAt string) ([]*payment.Payment, error)
- func (m *MockPaymentService) IndexByIsCompleted(ctx context.Context, groupID string, isCompleted bool) ([]*payment.Payment, error)
- func (m *MockPaymentService) Show(ctx context.Context, groupID, paymentID string) (*payment.Payment, error)
- func (m *MockPaymentService) Update(ctx context.Context, p *payment.Payment, groupID string) (*payment.Payment, error)
- func (m *MockPaymentService) UpdatePayer(ctx context.Context, p *payment.Payment, groupID, payerID string, isPaid bool) (*payment.Payment, error)
- func (m *MockPaymentService) UploadImage(ctx context.Context, data []byte) (string, error)
- type MockPaymentServiceMockRecorder
- func (mr *MockPaymentServiceMockRecorder) Create(ctx, p, groupID interface{}) *gomock.Call
- func (mr *MockPaymentServiceMockRecorder) Destroy(ctx, groupID, paymentID interface{}) *gomock.Call
- func (mr *MockPaymentServiceMockRecorder) Index(ctx, groupID, startAt interface{}) *gomock.Call
- func (mr *MockPaymentServiceMockRecorder) IndexByIsCompleted(ctx, groupID, isCompleted interface{}) *gomock.Call
- func (mr *MockPaymentServiceMockRecorder) Show(ctx, groupID, paymentID interface{}) *gomock.Call
- func (mr *MockPaymentServiceMockRecorder) Update(ctx, p, groupID interface{}) *gomock.Call
- func (mr *MockPaymentServiceMockRecorder) UpdatePayer(ctx, p, groupID, payerID, isPaid interface{}) *gomock.Call
- func (mr *MockPaymentServiceMockRecorder) UploadImage(ctx, data interface{}) *gomock.Call
- type MockPaymentUploader
- type MockPaymentUploaderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPaymentDomainValidation ¶
type MockPaymentDomainValidation struct {
// contains filtered or unexported fields
}
MockPaymentDomainValidation is a mock of PaymentDomainValidation interface
func NewMockPaymentDomainValidation ¶
func NewMockPaymentDomainValidation(ctrl *gomock.Controller) *MockPaymentDomainValidation
NewMockPaymentDomainValidation creates a new mock instance
func (*MockPaymentDomainValidation) EXPECT ¶
func (m *MockPaymentDomainValidation) EXPECT() *MockPaymentDomainValidationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPaymentDomainValidation) Payment ¶
func (m *MockPaymentDomainValidation) Payment(ctx context.Context, p *payment.Payment) []*domain.ValidationError
Payment mocks base method
type MockPaymentDomainValidationMockRecorder ¶
type MockPaymentDomainValidationMockRecorder struct {
// contains filtered or unexported fields
}
MockPaymentDomainValidationMockRecorder is the mock recorder for MockPaymentDomainValidation
func (*MockPaymentDomainValidationMockRecorder) Payment ¶
func (mr *MockPaymentDomainValidationMockRecorder) Payment(ctx, p interface{}) *gomock.Call
Payment indicates an expected call of Payment
type MockPaymentRepository ¶
type MockPaymentRepository struct {
// contains filtered or unexported fields
}
MockPaymentRepository is a mock of PaymentRepository interface
func NewMockPaymentRepository ¶
func NewMockPaymentRepository(ctrl *gomock.Controller) *MockPaymentRepository
NewMockPaymentRepository creates a new mock instance
func (*MockPaymentRepository) Create ¶
func (m *MockPaymentRepository) Create(ctx context.Context, p *payment.Payment, groupID string) error
Create mocks base method
func (*MockPaymentRepository) Destroy ¶
func (m *MockPaymentRepository) Destroy(ctx context.Context, groupID, paymentID string) error
Destroy mocks base method
func (*MockPaymentRepository) EXPECT ¶
func (m *MockPaymentRepository) EXPECT() *MockPaymentRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPaymentRepository) Index ¶
func (m *MockPaymentRepository) Index(ctx context.Context, groupID string) ([]*payment.Payment, error)
Index mocks base method
func (*MockPaymentRepository) IndexByIsCompleted ¶
func (m *MockPaymentRepository) IndexByIsCompleted(ctx context.Context, groupID string, isCompleted bool) ([]*payment.Payment, error)
IndexByIsCompleted mocks base method
func (*MockPaymentRepository) IndexFromStartAt ¶
func (m *MockPaymentRepository) IndexFromStartAt(ctx context.Context, groupID, startAt string) ([]*payment.Payment, error)
IndexFromStartAt mocks base method
type MockPaymentRepositoryMockRecorder ¶
type MockPaymentRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockPaymentRepositoryMockRecorder is the mock recorder for MockPaymentRepository
func (*MockPaymentRepositoryMockRecorder) Create ¶
func (mr *MockPaymentRepositoryMockRecorder) Create(ctx, p, groupID interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockPaymentRepositoryMockRecorder) Destroy ¶
func (mr *MockPaymentRepositoryMockRecorder) Destroy(ctx, groupID, paymentID interface{}) *gomock.Call
Destroy indicates an expected call of Destroy
func (*MockPaymentRepositoryMockRecorder) Index ¶
func (mr *MockPaymentRepositoryMockRecorder) Index(ctx, groupID interface{}) *gomock.Call
Index indicates an expected call of Index
func (*MockPaymentRepositoryMockRecorder) IndexByIsCompleted ¶
func (mr *MockPaymentRepositoryMockRecorder) IndexByIsCompleted(ctx, groupID, isCompleted interface{}) *gomock.Call
IndexByIsCompleted indicates an expected call of IndexByIsCompleted
func (*MockPaymentRepositoryMockRecorder) IndexFromStartAt ¶
func (mr *MockPaymentRepositoryMockRecorder) IndexFromStartAt(ctx, groupID, startAt interface{}) *gomock.Call
IndexFromStartAt indicates an expected call of IndexFromStartAt
func (*MockPaymentRepositoryMockRecorder) Show ¶
func (mr *MockPaymentRepositoryMockRecorder) Show(ctx, groupID, paymentID interface{}) *gomock.Call
Show indicates an expected call of Show
func (*MockPaymentRepositoryMockRecorder) Update ¶
func (mr *MockPaymentRepositoryMockRecorder) Update(ctx, p, groupID interface{}) *gomock.Call
Update indicates an expected call of Update
type MockPaymentService ¶
type MockPaymentService struct {
// contains filtered or unexported fields
}
MockPaymentService is a mock of PaymentService interface
func NewMockPaymentService ¶
func NewMockPaymentService(ctrl *gomock.Controller) *MockPaymentService
NewMockPaymentService creates a new mock instance
func (*MockPaymentService) Create ¶
func (m *MockPaymentService) Create(ctx context.Context, p *payment.Payment, groupID string) (*payment.Payment, error)
Create mocks base method
func (*MockPaymentService) Destroy ¶
func (m *MockPaymentService) Destroy(ctx context.Context, groupID, paymentID string) error
Destroy mocks base method
func (*MockPaymentService) EXPECT ¶
func (m *MockPaymentService) EXPECT() *MockPaymentServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPaymentService) Index ¶
func (m *MockPaymentService) Index(ctx context.Context, groupID, startAt string) ([]*payment.Payment, error)
Index mocks base method
func (*MockPaymentService) IndexByIsCompleted ¶
func (m *MockPaymentService) IndexByIsCompleted(ctx context.Context, groupID string, isCompleted bool) ([]*payment.Payment, error)
IndexByIsCompleted mocks base method
func (*MockPaymentService) Show ¶
func (m *MockPaymentService) Show(ctx context.Context, groupID, paymentID string) (*payment.Payment, error)
Show mocks base method
func (*MockPaymentService) Update ¶
func (m *MockPaymentService) Update(ctx context.Context, p *payment.Payment, groupID string) (*payment.Payment, error)
Update mocks base method
func (*MockPaymentService) UpdatePayer ¶
func (m *MockPaymentService) UpdatePayer(ctx context.Context, p *payment.Payment, groupID, payerID string, isPaid bool) (*payment.Payment, error)
UpdatePayer mocks base method
func (*MockPaymentService) UploadImage ¶
UploadImage mocks base method
type MockPaymentServiceMockRecorder ¶
type MockPaymentServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockPaymentServiceMockRecorder is the mock recorder for MockPaymentService
func (*MockPaymentServiceMockRecorder) Create ¶
func (mr *MockPaymentServiceMockRecorder) Create(ctx, p, groupID interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockPaymentServiceMockRecorder) Destroy ¶
func (mr *MockPaymentServiceMockRecorder) Destroy(ctx, groupID, paymentID interface{}) *gomock.Call
Destroy indicates an expected call of Destroy
func (*MockPaymentServiceMockRecorder) Index ¶
func (mr *MockPaymentServiceMockRecorder) Index(ctx, groupID, startAt interface{}) *gomock.Call
Index indicates an expected call of Index
func (*MockPaymentServiceMockRecorder) IndexByIsCompleted ¶
func (mr *MockPaymentServiceMockRecorder) IndexByIsCompleted(ctx, groupID, isCompleted interface{}) *gomock.Call
IndexByIsCompleted indicates an expected call of IndexByIsCompleted
func (*MockPaymentServiceMockRecorder) Show ¶
func (mr *MockPaymentServiceMockRecorder) Show(ctx, groupID, paymentID interface{}) *gomock.Call
Show indicates an expected call of Show
func (*MockPaymentServiceMockRecorder) Update ¶
func (mr *MockPaymentServiceMockRecorder) Update(ctx, p, groupID interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockPaymentServiceMockRecorder) UpdatePayer ¶
func (mr *MockPaymentServiceMockRecorder) UpdatePayer(ctx, p, groupID, payerID, isPaid interface{}) *gomock.Call
UpdatePayer indicates an expected call of UpdatePayer
func (*MockPaymentServiceMockRecorder) UploadImage ¶
func (mr *MockPaymentServiceMockRecorder) UploadImage(ctx, data interface{}) *gomock.Call
UploadImage indicates an expected call of UploadImage
type MockPaymentUploader ¶
type MockPaymentUploader struct {
// contains filtered or unexported fields
}
MockPaymentUploader is a mock of PaymentUploader interface
func NewMockPaymentUploader ¶
func NewMockPaymentUploader(ctrl *gomock.Controller) *MockPaymentUploader
NewMockPaymentUploader creates a new mock instance
func (*MockPaymentUploader) EXPECT ¶
func (m *MockPaymentUploader) EXPECT() *MockPaymentUploaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPaymentUploader) UploadImage ¶
UploadImage mocks base method
type MockPaymentUploaderMockRecorder ¶
type MockPaymentUploaderMockRecorder struct {
// contains filtered or unexported fields
}
MockPaymentUploaderMockRecorder is the mock recorder for MockPaymentUploader
func (*MockPaymentUploaderMockRecorder) UploadImage ¶
func (mr *MockPaymentUploaderMockRecorder) UploadImage(ctx, data interface{}) *gomock.Call
UploadImage indicates an expected call of UploadImage