analytics-android
analytics-android copied to clipboard
Segment in Robolectric unit tests
What do people do for this? Use a wrapper class and have a fake implementation of that? Mockito? It would be great if there were some easy way to build a no-op and set it like Analytics.setSingletonInstance(NO_OP_SEGMENT_ANALYTICS)
Fake implementation would be better even better than no-op.