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

ZonedDateTimeAssertions

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

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

Functions

day

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

dayOfWeek

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

month

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

year

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

Inheritors

ZonedDateTimeAssertionsBuilder

object ZonedDateTimeAssertionsBuilder : ZonedDateTimeAssertions

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.