fun <T> RootExpect<T>.withOptions(textRepresentation: String): Expect<T>
fun <T, R> FeatureExpect<T, R>.withOptions(textRepresentation: String): Expect<R>
Uses the given textRepresentation as representation of the subject instead of the current representation (which defaults to the subject itself).
fun <T> RootExpect<T>.withOptions(configuration: ExpectBuilder.OptionsChooser.() -> Unit): Expect<T>
fun <T, R> FeatureExpect<T, R>.withOptions(configuration: FeatureExtractorBuilder.OptionsChooser<R>.() -> Unit): Expect<R>
Uses the given configuration-lambda to create an ExpectOptions which in turn is used to override (parts) of the existing configuration.
fun <T> RootExpect<T>.withOptions(options: ExpectOptions): Expect<T>
fun <T, R> FeatureExpect<T, R>.withOptions(options: FeatureOptions<R>): Expect<R>
Uses the given options to override (parts) of the existing configuration.