Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIExternalServiceClient ¶
type MockIExternalServiceClient struct {
// contains filtered or unexported fields
}
MockIExternalServiceClient is a mock of IExternalServiceClient interface.
func NewMockIExternalServiceClient ¶
func NewMockIExternalServiceClient(ctrl *gomock.Controller) *MockIExternalServiceClient
NewMockIExternalServiceClient creates a new mock instance.
func (*MockIExternalServiceClient) CreateAccount ¶
func (m *MockIExternalServiceClient) CreateAccount(ctx context.Context, account *repository.Account) error
CreateAccount mocks base method.
func (*MockIExternalServiceClient) EXPECT ¶
func (m *MockIExternalServiceClient) EXPECT() *MockIExternalServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIExternalServiceClientMockRecorder ¶
type MockIExternalServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockIExternalServiceClientMockRecorder is the mock recorder for MockIExternalServiceClient.
func (*MockIExternalServiceClientMockRecorder) CreateAccount ¶
func (mr *MockIExternalServiceClientMockRecorder) CreateAccount(ctx, account interface{}) *gomock.Call
CreateAccount indicates an expected call of CreateAccount.
type MockIProducer ¶
type MockIProducer struct {
// contains filtered or unexported fields
}
MockIProducer is a mock of IProducer interface.
func NewMockIProducer ¶
func NewMockIProducer(ctrl *gomock.Controller) *MockIProducer
NewMockIProducer creates a new mock instance.
func (*MockIProducer) EXPECT ¶
func (m *MockIProducer) EXPECT() *MockIProducerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIProducer) NewAccountEvent ¶
func (m *MockIProducer) NewAccountEvent(ctx context.Context, account *repository.Account) error
NewAccountEvent mocks base method.
func (*MockIProducer) NewTransactionEvent ¶
func (m *MockIProducer) NewTransactionEvent(ctx context.Context, transaction *repository.Transaction) error
NewTransactionEvent mocks base method.
type MockIProducerMockRecorder ¶
type MockIProducerMockRecorder struct {
// contains filtered or unexported fields
}
MockIProducerMockRecorder is the mock recorder for MockIProducer.
func (*MockIProducerMockRecorder) NewAccountEvent ¶
func (mr *MockIProducerMockRecorder) NewAccountEvent(ctx, account interface{}) *gomock.Call
NewAccountEvent indicates an expected call of NewAccountEvent.
func (*MockIProducerMockRecorder) NewTransactionEvent ¶
func (mr *MockIProducerMockRecorder) NewTransactionEvent(ctx, transaction interface{}) *gomock.Call
NewTransactionEvent indicates an expected call of NewTransactionEvent.
type MockIRepository ¶
type MockIRepository struct {
// contains filtered or unexported fields
}
MockIRepository is a mock of IRepository interface.
func NewMockIRepository ¶
func NewMockIRepository(ctrl *gomock.Controller) *MockIRepository
NewMockIRepository creates a new mock instance.
func (*MockIRepository) EXPECT ¶
func (m *MockIRepository) EXPECT() *MockIRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIRepository) SaveAccount ¶
func (m *MockIRepository) SaveAccount(ctx context.Context, account *repository.Account) error
SaveAccount mocks base method.
func (*MockIRepository) SaveTransaction ¶
func (m *MockIRepository) SaveTransaction(ctx context.Context, transaction *repository.Transaction) error
SaveTransaction mocks base method.
type MockIRepositoryMockRecorder ¶
type MockIRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockIRepositoryMockRecorder is the mock recorder for MockIRepository.
func (*MockIRepositoryMockRecorder) SaveAccount ¶
func (mr *MockIRepositoryMockRecorder) SaveAccount(ctx, account interface{}) *gomock.Call
SaveAccount indicates an expected call of SaveAccount.
func (*MockIRepositoryMockRecorder) SaveTransaction ¶
func (mr *MockIRepositoryMockRecorder) SaveTransaction(ctx, transaction interface{}) *gomock.Call
SaveTransaction indicates an expected call of SaveTransaction.