RecordingAnalyticsClient
In-memory AnalyticsClient fake that records every call, for consumer unit tests.
Types
Link copied to clipboard
One recorded AnalyticsClient.increment call.
Link copied to clipboard
One recorded AnalyticsClient.trackScreen call.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The token passed to the most recent initialize call, or null if never initialized.
Link copied to clipboard
Names of every tracked event, in order — the most common assertion in consumer tests.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Latest value of every user property set via setUserProperties.
Link copied to clipboard