HockeyApp extends ServiceImpl implements CrashReportingService { @Override public ServiceType getServiceType() { return ServiceType.HOCKEYAPP; } HockeyApp(Context context); @Override void enable(String apiKey); @Override boolean isEnabled(); @Override ServiceType getServiceType(); void logEvent(final StoredException storedException, final Callback<Object> deleteStoredExceptionCallback); HockeyAppService createService();  }
@Test public void testGetServiceType() { assertEquals(ServiceType.HOCKEYAPP, new HockeyApp(null).getServiceType()); }