@Test public void testCreateService() { assertNotNull(networkService.createService(TestInterface.class)); }
public <T> T createService(Class<T> service) { return retrofit.create(service); }
NetworkService { public <T> T createService(Class<T> service) { return retrofit.create(service); } }
NetworkService { public <T> T createService(Class<T> service) { return retrofit.create(service); } NetworkService(OkHttpClient okHttpClient, GsonConverterFactory gsonConverterFactory); }
NetworkService { public <T> T createService(Class<T> service) { return retrofit.create(service); } NetworkService(OkHttpClient okHttpClient, GsonConverterFactory gsonConverterFactory); T createService(Class<T> service); }
NetworkService { public <T> T createService(Class<T> service) { return retrofit.create(service); } NetworkService(OkHttpClient okHttpClient, GsonConverterFactory gsonConverterFactory); T createService(Class<T> service);  }