doc / ch.tutteli.atrium.domain.builders.creating / NewFeatureAssertionsBuilder / genericFeature

genericFeature

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

Overrides NewFeatureAssertions.genericFeature

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

Return
The newly created ExtractedFeaturePostStep.