fun <T : Any> expect(subject: T): <ERROR CLASS>
Creates an IAssertionPlant for subject which immediately evaluates IAssertions.
Return
The newly created plant.
See Also
AtriumFactory.newCheckImmediately
inline fun <T : Any> expect(subject: T, createAssertions: IAssertionPlant<T>.() -> Unit): IAssertionPlant<T>
Creates an IAssertionPlant for subject which lazily evaluates IAssertions.
Return
The newly created plant.
See Also
AtriumFactory.newCheckLazilyAtTheEnd
fun expect(act: () -> Unit): <ERROR CLASS>
Creates an ThrowableFluent for the given function act.
Return
The newly created ThrowableFluent.