|
|
fun <T> be(expected: T): Matcher<T> |
|
|
fun beInstanceOf(expected: KClass<*>): Matcher<Any?>
fun <T : Any> beInstanceOf(): Matcher<Any?> |
|
|
fun <U : Any, T : U> beInstanceOf2(): Matcher<U> |
|
|
fun beOfType(expected: KClass<*>): Matcher<Any?>
fun <T : Any> beOfType(): Matcher<Any?> |
|
|
fun <T> beTheSameInstanceAs(ref: T): Matcher<T> |
|
|
fun <T> equalityMatcher(expected: T): Matcher<T> |
|
|
fun haveSameHashCodeAs(other: Any): Matcher<Any> |
|
|
fun instanceOf(expected: KClass<*>): Matcher<Any?> |
|
|
infix fun <T> T.should(matcher: Matcher<T>): Unit
infix fun <T> T.should(matcher: (T) -> Unit): Unit |
|
|
infix fun <T, U : T> T.shouldBe(any: U?): Unit |
|
|
infix fun <T> T.shouldHave(matcher: Matcher<T>): Unit |
|
|
infix fun <T> T.shouldNot(matcher: Matcher<T>): Unit |
|
|
infix fun <T> T.shouldNotBe(any: Any?): Unit |
|
|
infix fun <T> T.shouldNotHave(matcher: Matcher<T>): Unit |