BasicExpectationImpl

class BasicExpectationImpl<E>(val value: E) : BasicExpectation<E>

Constructors

Link copied to clipboard
constructor(value: E)

Functions

Link copied to clipboard
open override fun toBe(expected: E)
open override fun toBe(expected: @UnsafeVariance E, message: String)
Link copied to clipboard
inline fun <E> BasicExpectation<Any?>.toBe(): E
Link copied to clipboard
inline fun <E> BasicExpectation<E>.toBeEqualTo(expected: E, message: String? = null)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <E> BasicExpectation<Any?>.toBeInstanceOf(message: String? = null): BasicExpectation<E>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toBeNonNull()
open override fun toBeNonNull(message: String)
Link copied to clipboard
open override fun toBeNull()
open override fun toBeNull(message: String)
Link copied to clipboard
inline fun <T> BasicExpectation<T>.toBeUnequalTo(expected: T, message: String? = null)
Link copied to clipboard
inline fun BasicExpectation<String?>.toContain(other: String, ignoreCase: Boolean = true)

Properties

Link copied to clipboard
open override val value: E