doc / ch.tutteli.atrium.assertions.builders / AssertionsOption / withEmptyDescriptionAndRepresentation

withEmptyDescriptionAndRepresentation

fun <T : AssertionGroupType, R> withEmptyDescriptionAndRepresentation(groupType: T, factory: (T, Translatable, Any, List<Assertion>) -> R): AssertionsOption<T, R> (source)

Factory method to create an AssertionsOption step in the building process of an AssertionGroup with the given groupType an empty AssertionGroup.description and AssertionGroup.representation where the given factory is used to create the next step in the building process.