(ctx context.Context, limit, offset int)
| 101 | } |
| 102 | |
| 103 | func (m *MockDataSource) GetAllTransactions(ctx context.Context, limit, offset int) ([]model.Transaction, error) { |
| 104 | args := m.Called(limit, offset) |
| 105 | return args.Get(0).([]model.Transaction), args.Error(1) |
| 106 | } |
| 107 | |
| 108 | func (m *MockDataSource) GetAllTransactionsWithFilter(ctx context.Context, filters *filter.QueryFilterSet, limit, offset int) ([]model.Transaction, error) { |
| 109 | args := m.Called(ctx, filters, limit, offset) |