@Test public void setLogger_isSetAfterBuild() { HttpLoggingInterceptor.Logger logger = HttpLoggingInterceptor.Logger.DEFAULT; UberRidesApi.Builder builder = UberRidesApi.with(session).setLogger(logger); builder.build(); assertEquals(logger, builder.logger); }
@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();  }