fun <T : Any> assert(subject: T): <ERROR CLASS>
(source)
Creates an AssertionPlant for the given subject.
Return
The newly created plant.
See Also
fun <T : Any> assert(subject: T, assertionCreator: Assert<T>.() -> Unit): <ERROR CLASS>
(source)
Creates an AssertionPlant for the given subject and AssertionPlant.addAssertionsCreatedBy the given assertionCreator lambda where the created Assertions are added as a group and usually (depending on the configured Reporter) reported as a whole.
Return
The newly created plant.
See Also
CoreFactory.newReportingPlantAndAddAssertionsCreatedBy
fun assert(act: () -> Unit): Builder
(source)
Creates a ThrowableThrown.Builder for the given function act which is expected to throw a Throwable.
Return
The newly created ThrowableThrown.Builder.