doc / ch.tutteli.atrium.domain.creating.feature.extract / FeatureExtractor / ParameterObjectOption

ParameterObjectOption

interface ParameterObjectOption
Deprecated: Switch from `Assert` to `Expect` and use then FeatureExtractor from package ch.tutteli.atrium.domain.creating.changers instead; will be removed with 1.0.0

Option step to define the ParameterObject.

Properties

featureDescription

abstract val featureDescription: Translatable

The previously chosen feature description.

Functions

withParameterObject

open fun <TSubject : Any, T : Any> withParameterObject(parameterObject: FeatureExtractor.ParameterObject<TSubject, T>): FeatureExtractor.Creator<TSubject, T>

Uses the given parameterObject where a non-nullable feature is extracted by ParameterObject.featureExtraction.

withParameterObjectNullable

open fun <TSubject : Any, T> withParameterObjectNullable(parameterObject: FeatureExtractor.ParameterObject<TSubject, T>): FeatureExtractor.CreatorNullable<TSubject, T>

Uses the given parameterObject where a nullable feature is extracted by ParameterObject.featureExtraction.