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

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.

Return
The newly created ExtractedFeaturePostStep.