(ctx context.Context, id string)
| 534 | } |
| 535 | |
| 536 | func (m *MockDataSource) GetMatchingRule(ctx context.Context, id string) (*model.MatchingRule, error) { |
| 537 | args := m.Called(ctx, id) |
| 538 | return args.Get(0).(*model.MatchingRule), args.Error(1) |
| 539 | } |
| 540 | |
| 541 | func (m *MockDataSource) UpdateMatchingRule(ctx context.Context, rule *model.MatchingRule) error { |
| 542 | args := m.Called(ctx, rule) |