commonMain.ch.tutteli.atrium.assertions.BasicAssertionGroup.kt Maven / Gradle / Ivy
package ch.tutteli.atrium.assertions
import ch.tutteli.atrium.reporting.translating.Translatable
/**
* A default implementation for [AssertionGroup] -- it has a certain [type], a [description], a [representation]
* and of course [assertions].
*
* @constructor A default implementation for [AssertionGroup].
* @param type The type of the group, e.g. [FeatureAssertionGroupType].
* @param description The description of the group.
* @param representation The representation of the subject for which the [assertions] are defined.
* @param assertions The assertions of this group, which are defined for the subject represented by [representation].
*/
internal data class BasicAssertionGroup(
override val type: AssertionGroupType,
override val description: Translatable,
override val representation: Any,
override val assertions: List
) : AssertionGroup
© 2015 - 2024 Weber Informatics LLC | Privacy Policy