atrium-impl-common / ch.tutteli.atrium.assertions / FeatureAssertionGroup

FeatureAssertionGroup

data class FeatureAssertionGroup : IFeatureAssertionGroup

Represents a group of IAssertion identified by a featureName and a belonging feature.

Constructors

<init>

FeatureAssertionGroup(featureName: ITranslatable, feature: Any, assertions: List<IAssertion>)

Properties

assertions

val assertions: List<IAssertion>

The assertions of this group, which are defined for feature.

feature

val feature: Any

The feature itself for which the assertions are defined for.

featureName

val featureName: ITranslatable

The name of the feature.

Inherited Functions

holds

open fun holds(): Boolean

Holds if all its assertions hold.