@Test public void testSetLogLevel() throws Exception { LogLevel logLevel = LogLevel.DEBUG; Sixpack sixpack = new SixpackBuilder() .setLogLevel(logLevel) .setLogger(new SystemOutLogger()) .build(); assertEquals(logLevel, sixpack.getLogLevel()); }
public SixpackBuilder setLogLevel(LogLevel logLevel) { this.logLevel = logLevel; return this; }
SixpackBuilder { public SixpackBuilder setLogLevel(LogLevel logLevel) { this.logLevel = logLevel; return this; } }
SixpackBuilder { public SixpackBuilder setLogLevel(LogLevel logLevel) { this.logLevel = logLevel; return this; }  }
SixpackBuilder { public SixpackBuilder setLogLevel(LogLevel logLevel) { this.logLevel = logLevel; return this; }  SixpackBuilder setSixpackUrl(HttpUrl sixpackUrl); SixpackBuilder setClientId(String clientId); SixpackBuilder setLogger(Logger logger); SixpackBuilder setLogLevel(LogLevel logLevel); SixpackBuilder setHttpClient(OkHttpClient client); Sixpack build(); }
SixpackBuilder { public SixpackBuilder setLogLevel(LogLevel logLevel) { this.logLevel = logLevel; return this; }  SixpackBuilder setSixpackUrl(HttpUrl sixpackUrl); SixpackBuilder setClientId(String clientId); SixpackBuilder setLogger(Logger logger); SixpackBuilder setLogLevel(LogLevel logLevel); SixpackBuilder setHttpClient(OkHttpClient client); Sixpack build();  }