doc / ch.tutteli.atrium.assertions.builders / AssertionGroupDescriptionAndRepresentationOption / create

create

fun <T : AssertionGroupType, R> create(type: T, factory: (T, Translatable, Any) -> R): AssertionGroupDescriptionAndRepresentationOption<T, R> (source)

Factory method to create an AssertionGroupDescriptionAndRepresentationOption with the given assertion group type and another factory method which creates the next step in the building process.