doc / ch.tutteli.atrium.domain.creating / LocalDateAssertions

LocalDateAssertions

interface LocalDateAssertions

Defines the minimum set of assertion functions and builders applicable to LocalDate, which an implementation of the domain of Atrium has to provide.

Functions

day

abstract fun <T : LocalDate> day(expect: Expect<T>): ExtractedFeaturePostStep<T, Int>

dayOfWeek

abstract fun <T : LocalDate> dayOfWeek(expect: Expect<T>): ExtractedFeaturePostStep<T, DayOfWeek>

month

abstract fun <T : LocalDate> month(expect: Expect<T>): ExtractedFeaturePostStep<T, Int>

year

abstract fun <T : LocalDate> year(expect: Expect<T>): ExtractedFeaturePostStep<T, Int>

Inheritors

LocalDateAssertionsBuilder

object LocalDateAssertionsBuilder : LocalDateAssertions

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.