DescriptionStepImpl
class DescriptionStepImpl<SubjectT>(val container: AssertionContainer<SubjectT>) : FeatureExtractorBuilder.DescriptionStep<SubjectT> (source)
Properties
Functions
Link copied to clipboard
open fun methodCall(methodName: String, vararg arguments: Any?): FeatureExtractorBuilder.RepresentationInCaseOfFailureStep<SubjectT>
Uses the configured MethodCallFormatter to create a description of a method call with the given methodName and the given arguments.
Link copied to clipboard
open fun withDescription(description: String): FeatureExtractorBuilder.RepresentationInCaseOfFailureStep<SubjectT>
Uses the given description, wraps it into an Untranslatable and uses it as description of the feature.
open override fun withDescription(translatable: Translatable): FeatureExtractorBuilder.RepresentationInCaseOfFailureStep<SubjectT>
Uses the given translatable as description of the feature.