GoogleAnalytics extends ServiceImpl implements EventTrackingService { @Override public ServiceType getServiceType() { return ServiceType.GOOGLE_ANALYTICS; } GoogleAnalytics(Context context); @Override void enable(String trackingId); @Override boolean isEnabled(); @Override ServiceType getServiceType(); void logEvent(Context context, String event);  }
@Test public void testGetServiceType() { assertEquals(ServiceType.GOOGLE_ANALYTICS, new GoogleAnalytics(null).getServiceType()); }