Package testutil can be .-imported to gain access to useful test functions.
const TestAPIKey = "166f5ad3590596f9aa8d601ea89af845"
TestAPIKey is a fake API key that can be used for testing
AssertPayload compares the payload that was received by the event-server to the expected report JSON payload
Get travels through a JSON object and returns the specified node
GetIndex returns the n-th element of the specified path inside the given JSON object
Setup sets up and returns a test event server for receiving the event payloads. report payloads published to the returned server's URL will be put on the returned channel