Verify that EventLogging can receive and validate events submitted by the MP Java client.
Approach
Before the Java library is packaged/published, we can perform end-to-end testing by embedding the MP Java Client into a sample project and submitting an event to a local EventLogging stream using the available Java methods for dispatching and enqueueing events.
Acceptance criteria
- A test project embeds the MP Java Client library as a dependency
- When the MetricsClient::dispatch() and EventProcessor::sendEnqueuedEvents() are invoked, a local EventLogging stream accepts and validates a test event.