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

LocalDateAssertionsBuilder

object LocalDateAssertionsBuilder (source)

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

Functions

day

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

dayOfWeek

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

month

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

year

fun <T : LocalDate> 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.