(ctx context.Context, bundle *model.Bundle)
| 134 | } |
| 135 | |
| 136 | func (m *MockBundleRepository) CreateBundle(ctx context.Context, bundle *model.Bundle) (*model.Bundle, error) { |
| 137 | args := m.Called(ctx, bundle) |
| 138 | if args.Get(0) == nil { |
| 139 | return nil, args.Error(1) |
| 140 | } |
| 141 | return args.Get(0).(*model.Bundle), args.Error(1) |
| 142 | } |
| 143 | |
| 144 | func (m *MockBundleRepository) GetById(ctx context.Context, id primitive.ObjectID) (*model.Bundle, error) { |
| 145 | args := m.Called(ctx, id) |
nothing calls this directly
no outgoing calls
no test coverage detected