shouldBe

infix fun <T> T.shouldBe(expected: T)

Asserts that the receiver is equal to the expected value.

Parameters

expected

The expected value.

Throws

if the values are not equal.