FeatureExpectOptions

data class FeatureExpectOptions<R>(val description: Translatable? = null, val representationInsteadOfFeature: (R) -> Any? = null)(source)

Additional (non-mandatory) options to create a FeatureExpect.

Constructors

Link copied to clipboard
constructor(description: Translatable? = null, representationInsteadOfFeature: (R) -> Any? = null)

Properties

Link copied to clipboard

Defines a custom description if not null.

Link copied to clipboard

Defines a custom representation based on a present subject if not null.

Functions

Link copied to clipboard

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.