interface ReportingAssertionPlantNullable<out T> : AssertionPlantNullable<T>, BaseReportingAssertionPlant<T, AssertionPlantNullable<T>>
Represents an assertion plant for nullable types and offers the possibility to addAssertions and to report them.
You can think of it as an Assertion factory which does more than just factoring but also provides quality assurance capabilities.
T
- The type of the subject of this AssertionPlant.
fun <T, A : BaseAssertionPlant<T, *>> A.asExpect(): Expect<T> fun <T : Any, A : BaseAssertionPlant<T, *>> A.asExpect(assertionCreator: Expect<T>.() -> Unit): A
Turns Assert or AssertionPlantNullable into an Expect so that you can use new functionality which is not available on Assert/AssertionPlantNullable. |
|
fun <T : Any> AssertionPlantNullable<T?>.
Makes the assertion that AssertionPlantNullable.subject is not null and if so, uses assertionCreator which could create further assertions which are added as a group. |
|
fun <T> AssertionPlantNullable<T>.
Makes the assertion that the Assert.subject is |
|
fun <T : Any> AssertionPlantNullable<T?>.
Makes the assertion that the Assert.subject is expected. |
|
fun <T : Any> AssertionPlantNullable<T?>.
Makes the assertion that AssertionPlantNullable.subject is not null and if so, uses assertionCreator which could create further assertions which are added as a group. |
|
infix fun <T : BigDecimal> AssertionPlantNullable<T?>. |
|
fun <T> AssertionPlantNullable<T>.
Makes the assertion that the Assert.subject is |
|
fun <T : Any> AssertionPlantNullable<T?>.
Makes the assertion that the Assert.subject is either |
|
infix fun <T : Any> AssertionPlantNullable<T?>.
Makes the assertion that AssertionPlantNullable.subject is not null and if so, uses assertionCreator which could create further assertions which are added as a group. |
|
fun <T : Any> AssertionPlantNullable<T?>.
Makes the assertion that AssertionPlantNullable.subject is not null and if so, uses assertionCreator which could create further assertions which are added as a group. |
|
infix fun <T : Any> AssertionPlantNullable<T?>.notToBeNull(assertionCreator: Assert<T>.() -> Unit): Unit
Makes the assertion that AssertionPlantNullable.subject is not null and if so, uses assertionCreator which could create further assertions which are added as a group. |
|
fun <T : BigDecimal> AssertionPlantNullable<T?>. |
|
infix fun <T : BigDecimal> AssertionPlantNullable<T?>. infix fun <T : Any> AssertionPlantNullable<T>. |
|
infix fun <T> AssertionPlantNullable<T>.
Makes the assertion that the Assert.subject is |
|
fun <T : Any> AssertionPlantNullable<T?>.
Makes the assertion that the Assert.subject is expected. |
|
infix fun <T : Any> AssertionPlantNullable<T?>.toBe(expected: T?): Unit
Makes the assertion that the Assert.subject is expected. |
|
fun <T : Any> AssertionPlantNullable<T?>.
Makes the assertion that the Assert.subject is either |
|
infix fun <T : Any> AssertionPlantNullable<T?>.toBeNullIfNullGivenElse(assertionCreatorOrNull: (Assert<T>.() -> Unit)?): Unit
Makes the assertion that the Assert.subject is either |