kotest-assertions-core / io.kotest.matchers.uri / java.net.URI

Extensions for java.net.URI

shouldBeOpaque

fun URI.shouldBeOpaque(): Unit

shouldHaveAuthority

infix fun URI.shouldHaveAuthority(authority: String): Unit

shouldHaveFragment

infix fun URI.shouldHaveFragment(fragment: String): Unit

shouldHaveHost

infix fun URI.shouldHaveHost(host: String): Unit

shouldHaveParameter

infix fun URI.shouldHaveParameter(key: String): Unit

shouldHavePath

infix fun URI.shouldHavePath(path: String): Unit

shouldHavePort

infix fun URI.shouldHavePort(port: Int): Unit

shouldHaveQuery

infix fun URI.shouldHaveQuery(q: String): Unit

shouldHaveScheme

infix fun URI.shouldHaveScheme(scheme: String): Unit

shouldNotBeOpaque

fun URI.shouldNotBeOpaque(): Unit

shouldNotHaveAuthority

infix fun URI.shouldNotHaveAuthority(authority: String): Unit

shouldNotHaveFragment

infix fun URI.shouldNotHaveFragment(fragment: String): Unit

shouldNotHaveHost

infix fun URI.shouldNotHaveHost(host: String): Unit

shouldNotHaveParameter

infix fun URI.shouldNotHaveParameter(key: String): Unit

shouldNotHavePath

infix fun URI.shouldNotHavePath(path: String): Unit

shouldNotHavePort

infix fun URI.shouldNotHavePort(port: Int): Unit

shouldNotHaveQuery

infix fun URI.shouldNotHaveQuery(q: String): Unit

shouldNotHaveScheme

infix fun URI.shouldNotHaveScheme(scheme: String): Unit