@Test public void setOkHttpClient_whenNull_returnsNewClient() { UberRidesApi.Builder builder = UberRidesApi.with(session); builder.build(); assertNotNull(builder.client); }
@Nonnull public static Builder with(@Nonnull Session session) { return new Builder(session); }
UberRidesApi { @Nonnull public static Builder with(@Nonnull Session session) { return new Builder(session); } }
UberRidesApi { @Nonnull public static Builder with(@Nonnull Session session) { return new Builder(session); } private  UberRidesApi(@Nonnull Retrofit retrofit); }
UberRidesApi { @Nonnull public static Builder with(@Nonnull Session session) { return new Builder(session); } private  UberRidesApi(@Nonnull Retrofit retrofit); @Nonnull static Builder with(@Nonnull Session session); RidesService createService(); }
UberRidesApi { @Nonnull public static Builder with(@Nonnull Session session) { return new Builder(session); } private  UberRidesApi(@Nonnull Retrofit retrofit); @Nonnull static Builder with(@Nonnull Session session); RidesService createService();  }