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

NewFeatureAssertions

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

Defines the minimum set of assertion functions -- used to create feature assertions -- which an implementation of the domain of Atrium has to provide.

Will be renamed to FeatureAssertions with 1.0.0

Functions

genericFeature

abstract fun <T, R> genericFeature(expect: Expect<T>, metaFeature: MetaFeature<R>): ExtractedFeaturePostStep<T, R>

Extracts a feature from expect based on the given MetaFeature and creates a ExtractedFeaturePostStep based on it.

Inheritors

NewFeatureAssertionsBuilder

object NewFeatureAssertionsBuilder : NewFeatureAssertions

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