Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for toStringIncludesLifecycleState (0.11 sec)

  1. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

          }
    
          // Different port is not okay.
          assertFailsWith<IllegalStateException> {
            other.start(addressA, other.port - 1)
          }
        }
      }
    
      @Test
      fun toStringIncludesLifecycleState() {
        val other = MockWebServer()
        assertThat(other.toString()).isEqualTo("MockWebServer{new}")
        other.use {
          other.start()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top