- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for nullNetworkInterceptorInList (0.36 sec)
-
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
assertFailsWith<IllegalStateException> { builder.build() }.also { expected -> assertThat(expected.message).isEqualTo("Null interceptor: [null]") } } @Test fun nullNetworkInterceptorInList() { val builder = OkHttpClient.Builder() builder.networkInterceptors().addAll(listOf(null) as List<Interceptor>) assertFailsWith<IllegalStateException> { builder.build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 13.2K bytes - Viewed (0)