doc / ch.tutteli.atrium.assertions.builders / Descriptive / DescriptionOption / create

create

fun <R> create(test: () -> Boolean, factory: (() -> Boolean, Translatable, Any) -> R): DescriptionOption<R> (source)

Factory method to create the DescriptionOption step based on the given test and another factory method which creates the next step in the building process of a descriptive assertion.