# Functions
Scenario can be used to test the result of Domain Queries being handled by a Query Handler.
ToEnvelope is a convenience function that wraps the provided Query type into an Envelope, with no metadata attached to it.
# Structs
ScenarioGiven is the state of the scenario once a set of Domain Events have been provided using Given(), to represent the state of the system at the time of evaluating a Domain Event.
ScenarioInit is the entrypoint of the Query Handler scenario API.
ScenarioThen is the state of the scenario once the preconditions and expectations have been fully specified.
ScenarioWhen is the state of the scenario once the state of the system and the Domain Query to evaluate has been provided.
# Interfaces
Handler is the interface that defines a Query Handler.
ProcessorHandler is a Query Handler that can both handle domain queries, and domain events to hydrate the query model.
# Type aliases
HandlerFunc is a functional type that implements the Handler interface.
Query represents a Domain Query, a request for information.