(ctx context.Context, rule *model.MatchingRule)
| 524 | } |
| 525 | |
| 526 | func (m *MockDataSource) RecordMatchingRule(ctx context.Context, rule *model.MatchingRule) error { |
| 527 | args := m.Called(ctx, rule) |
| 528 | return args.Error(0) |
| 529 | } |
| 530 | |
| 531 | func (m *MockDataSource) GetMatchingRules(ctx context.Context) ([]*model.MatchingRule, error) { |
| 532 | args := m.Called(ctx) |