shouldSucceedWith

infix fun <T> KmmResult<T>.shouldSucceedWith(expected: T): T(source)

Shorthand for getOrThrow() shouldBe expected