atrium-domain-builders-jvm / ch.tutteli.atrium.domain.builders.creating / ZonedDateTimeAssertionsBuilder

ZonedDateTimeAssertionsBuilder

object ZonedDateTimeAssertionsBuilder (source)

Delegates inter alia to the implementation of ZonedDateTimeAssertions. In detail, it implements ZonedDateTimeAssertions by delegating to zonedDateTimeAssertions which in turn delegates to the implementation via loadSingleService.

Functions

day

fun <T : ZonedDateTime> day(expect: <ERROR CLASS><T>): <ERROR CLASS>

dayOfWeek

fun <T : ZonedDateTime> dayOfWeek(expect: <ERROR CLASS><T>): <ERROR CLASS>

month

fun <T : ZonedDateTime> month(expect: <ERROR CLASS><T>): <ERROR CLASS>

year

fun <T : ZonedDateTime> year(expect: <ERROR CLASS><T>): <ERROR CLASS>

Extension Functions

asExpect

fun <T, A> A.asExpect(): <ERROR CLASS><T>
fun <T : Any, A> A.asExpect(assertionCreator: <ERROR CLASS><T>.() -> Unit): A

Turns Assert or AssertionPlantNullable into an Expect so that you can use new functionality which is not available on Assert/AssertionPlantNullable.