(ctx context.Context, id string)
| 584 | } |
| 585 | |
| 586 | func (m *MockDataSource) GetAPIKey(ctx context.Context, id string) (*model.APIKey, error) { |
| 587 | args := m.Called(ctx, id) |
| 588 | return args.Get(0).(*model.APIKey), args.Error(1) |
| 589 | } |
| 590 | |
| 591 | func (m *MockDataSource) UpdateLastUsed(ctx context.Context, id string) error { |
| 592 | args := m.Called(ctx, id) |