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