PagerDuty extends ServiceImpl implements CrashReportingService { @Override public ServiceType getServiceType() { return ServiceType.PAGERDUTY; } PagerDuty(Context context); void enable(String apiKey); boolean isEnabled(); @Override ServiceType getServiceType(); void logEvent(StoredException storedException, Callback<Object> callback);  }
@Test public void testGetServiceType() { PagerDuty pagerDuty = new PagerDuty(null); assertEquals(ServiceType.PAGERDUTY, pagerDuty.getServiceType()); }