class FeatureExtractionStepImpl<T> : FeatureExtractorBuilder.FeatureExtractionStep<T> (source)
FeatureExtractionStepImpl(originalAssertionContainer: <ERROR CLASS><T>, description: <ERROR CLASS>, representationForFailure: Any) |
val description: <ERROR CLASS>
The previously specified description which describes the kind of feature extraction. |
|
val originalAssertionContainer: <ERROR CLASS><T>
The previously specified assertion container from which we are going to extract the feature. |
|
val representationForFailure: Any
The previously specified representation which will be used in case the feature cannot be extracted. |
fun <R> withFeatureExtraction(extraction: (T) -> <ERROR CLASS><R>): FeatureExtractorBuilder.OptionsStep<T, R> |
abstract fun <R> withFeatureExtraction(extraction: (subject: T) -> <ERROR CLASS><R>): FeatureExtractorBuilder.OptionsStep<T, R>
Defines the feature extraction as such which is most likely based on the current subject (but does not need to be). |
fun <T, A> A.asExpect(): <ERROR CLASS><T>fun <T : Any, A> A.asExpect(assertionCreator: <ERROR CLASS><T>.() -> Unit): A
Turns Assert or AssertionPlantNullable into an Expect so that you can use new functionality which is not available on Assert/AssertionPlantNullable. |