doc / ch.tutteli.atrium.creating / FeatureExpectOptions / merge

merge

fun merge(options: FeatureExpectOptions<R>): FeatureExpectOptions<R>

Merges the given options with this object creating a new FeatureExpectOptions where defined properties in options will have precedence over properties defined in this instance.

For instance, this object has defined representationInsteadOfFeature (meaning it is not null) and the given options as well, then the resulting FeatureExpectOptions will have the representationInsteadOfFeature of options.