zitadel/internal/eventstore/handler/v2/mock_test.go

24 lines
435 B
Go
Raw Normal View History

package handler
var _ Projection = (*projection)(nil)
type projection struct {
name string
reducers []AggregateReducer
}
// ActiveInstances implements [Projection]
func (p *projection) ActiveInstances() []string {
return nil
}
// Name implements [Projection]
func (p *projection) Name() string {
return p.name
}
// Reducers implements [Projection]
func (p *projection) Reducers() []AggregateReducer {
return p.reducers
}