@Test public void setLogLevel_isSetAfterBuild() { HttpLoggingInterceptor.Level level= HttpLoggingInterceptor.Level.BASIC; UberRidesApi.Builder builder = UberRidesApi.with(session).setLogLevel(level); builder.build(); assertEquals(level, builder.logLevel); }
@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();  }