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

LocalDateTimeAssertions

interface LocalDateTimeAssertions
Deprecated: Use LocalDateTimeAssertions from atrium-logic; will be removed with 1.0.0

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

Functions

day

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

dayOfWeek

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

month

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

year

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

Inheritors

LocalDateTimeAssertionsBuilder

object LocalDateTimeAssertionsBuilder : LocalDateTimeAssertions

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