@Test public void testGetSixpackEndpointNullUrl() { HttpUrl sixpackEndpoint = Sixpack.getSixpackEndpoint(null); assertNotNull(sixpackEndpoint); assertEquals(sixpackEndpoint.toString(), Sixpack.DEFAULT_URL.toString()); }
static HttpUrl getSixpackEndpoint(final HttpUrl sixpackUrl) { return sixpackUrl != null ? sixpackUrl : DEFAULT_URL; }
Sixpack { static HttpUrl getSixpackEndpoint(final HttpUrl sixpackUrl) { return sixpackUrl != null ? sixpackUrl : DEFAULT_URL; } }
Sixpack { static HttpUrl getSixpackEndpoint(final HttpUrl sixpackUrl) { return sixpackUrl != null ? sixpackUrl : DEFAULT_URL; } Sixpack(final HttpUrl sixpackUrl, final String clientId, final OkHttpClient client);   Sixpack(final SixpackApi api);   Sixpack(final SixpackApi api, final String clientId); }
Sixpack { static HttpUrl getSixpackEndpoint(final HttpUrl sixpackUrl) { return sixpackUrl != null ? sixpackUrl : DEFAULT_URL; } Sixpack(final HttpUrl sixpackUrl, final String clientId, final OkHttpClient client);   Sixpack(final SixpackApi api);   Sixpack(final SixpackApi api, final String clientId); ExperimentBuilder experiment(); String getClientId(); void setLogLevel(LogLevel logLevel); LogLevel getLogLevel(); void setLogger(final Logger logger); static String generateRandomClientId(); }
Sixpack { static HttpUrl getSixpackEndpoint(final HttpUrl sixpackUrl) { return sixpackUrl != null ? sixpackUrl : DEFAULT_URL; } Sixpack(final HttpUrl sixpackUrl, final String clientId, final OkHttpClient client);   Sixpack(final SixpackApi api);   Sixpack(final SixpackApi api, final String clientId); ExperimentBuilder experiment(); String getClientId(); void setLogLevel(LogLevel logLevel); LogLevel getLogLevel(); void setLogger(final Logger logger); static String generateRandomClientId(); static final HttpUrl DEFAULT_URL; static final String NAME_REGEX; static final Pattern NAME_PATTERN; static final LogLevel DEFAULT_LOG_LEVEL; static final String SIXPACK_LOG_TAG; }