# Functions
NewTestHandler returns a new TestHandler.
ReportConfigured updates metrics and logs that the specified setting is configured with the given value in the origin.
ReportError updates metrics and logs that the specified setting has an error in the origin.
ReportNotConfigured updates metrics and logs that the specified setting is not configured in the origin.
Reset metrics for the specified policy origin.
SetHooksForTest sets the specified addMetric and setMetric functions as the metric functions for the duration of tb and all its subtests.
ShouldReport reports whether metrics should be reported on the current environment.
# Structs
TestHandler facilitates testing of the code that uses metrics.
TestState represents a metric name and its expected value.