doc / ch.tutteli.atrium.domain.builders / ExpectImpl

ExpectImpl

object ExpectImpl (source)

Bundles different domain objects which are defined by the module atrium-domain-api to give assertion writers (and other consumers of the domain) a fluent API as well.

Properties

any

val any: AnyAssertionsBuilder

Returns AnyAssertionsBuilder which inter alia delegates to the implementation of AnyAssertions.

builder

val builder: AssertionBuilder

Returns AssertionBuilder - helping you creating Assertions. In detail, its an inline property which returns ch.tutteli.atrium.assertions.builders.assertionBuilder which in turn returns an implementation of AssertionBuilder.

charSequence

val charSequence: CharSequenceAssertionsBuilder

Returns CharSequenceAssertionsBuilder which inter alia delegates to the implementation of CharSequenceAssertions.

collection

val collection: CollectionAssertionsBuilder

Returns CollectionAssertionsBuilder which inter alia delegates to the implementation of CollectionAssertions.

collector

val collector: AssertionCollectorBuilder

Returns AssertionCollectorBuilder - helping you to collect feature assertions. In detail, its an inline property which returns AssertionCollectorBuilder which inter alia delegates to the implementation of AssertionCollector.

comparable

val comparable: ComparableAssertionsBuilder

Returns ComparableAssertionsBuilder which inter alia delegates to the implementation of ComparableAssertions.

feature

val feature: NewFeatureAssertionsBuilder

Returns NewFeatureAssertionsBuilder which inter alia delegates to the implementation of FeatureAssertions.

floatingPoint

val floatingPoint: FloatingPointAssertionsBuilder

Returns FloatingPointAssertionsBuilder - Assertions applicable to Float, Double and maybe more - which inter alia delegates to the implementation of FloatingPointAssertions.

fun0

val fun0: Fun0AssertionsBuilder

Returns Fun0AssertionsBuilder - Assertions applicable to lambdas with arity 0 which inter alia delegates to the implementation of FloatingPointAssertions.

iterable

val iterable: IterableAssertionsBuilder

Returns IterableAssertionsBuilder. which inter alia delegates to the implementation of IterableAssertions.

list

val list: ListAssertionsBuilder

Returns ListAssertionsBuilder which inter alia delegates to the implementation of ListAssertions.

map

val map: MapAssertionsBuilder

Returns MapAssertionsBuilder which inter alia delegates to the implementation of MapAssertions.

pair

val pair: PairAssertionsBuilder

Returns PairAssertionsBuilder which inter alia delegates to the implementation of PairAssertions.

throwable

val throwable: ThrowableAssertionsBuilder

Returns ThrowableAssertionsBuilder which inter alia delegates to the implementation of ThrowableAssertions.

Functions

changeSubject

fun <T> changeSubject(originalExpect: Expect<T>): SubjectChangerBuilder.KindStep<T>

Returns SubjectChangerBuilder - helping you to change the subject of the assertion. In detail, its an inline property which returns SubjectChangerBuilder which inter alia delegates to the implementation of SubjectChanger.

fun <T> changeSubject(originalAssertionContainer: SubjectProvider<T>): SubjectChangerBuilder.DeprecatedKindStep<T>

Extension Properties

bigDecimal

val ExpectImpl.bigDecimal: BigDecimalAssertionsBuilder

Returns BigDecimalAssertionsBuilder which inter alia delegates to the implementation of BigDecimalAssertions.

chronoLocalDate

val ExpectImpl.chronoLocalDate: ChronoLocalDateAssertionsBuilder

Returns ChronoLocalDateAssertionsBuilder which inter alia delegates to the implementation of ChronoLocalDateAssertions.

chronoLocalDateTime

val ExpectImpl.chronoLocalDateTime: ChronoLocalDateTimeAssertionsBuilder

Returns ChronoLocalDateTimeAssertionsBuilder which inter alia delegates to the implementation of ChronoLocalDateTimeAssertions.

chronoZonedDateTime

val ExpectImpl.chronoZonedDateTime: ChronoZonedDateTimeAssertionsBuilder

Returns ChronoZonedDateTimeAssertionsBuilder which inter alia delegates to the implementation of ChronoZonedDateTimeAssertions.

localDate

val ExpectImpl.localDate: LocalDateAssertionsBuilder

Returns LocalDateAssertionsBuilder which inter alia delegates to the implementation of LocalDateAssertions.

localDateTime

val ExpectImpl.localDateTime: LocalDateTimeAssertionsBuilder

Returns LocalDateTimeAssertionsBuilder which inter alia delegates to the implementation of LocalDateTimeAssertionsBuilder.

optional

val ExpectImpl.optional: OptionalAssertionsBuilder

Returns OptionalAssertionsBuilder which inter alia delegates to the implementation of OptionalAssertions.

path

val ExpectImpl.path: PathAssertionsBuilder

Returns PathAssertionsBuilder which inter alia delegates to the implementation of PathAssertions.

result

val ExpectImpl.result: ResultAssertionsBuilder

Returns ResultAssertionsBuilder which inter alia delegates to the implementation of ResultAssertions.

zonedDateTime

val ExpectImpl.zonedDateTime: ZonedDateTimeAssertionsBuilder

Returns ZonedDateTimeAssertionsBuilder which inter alia delegates to the implementation of ZonedDateTimeAssertionsBuilder.