doc / ch.tutteli.atrium.assertions / AssertionGroup / <init>

<init>

AssertionGroup(type: IAssertionGroupType, name: ITranslatable, subject: Any, assertions: List<IAssertion>)

Represents a group of IAssertions with a certain type, a name, a subject and of course assertions.

Parameters

type - The type of the group, e.g. IFeatureAssertionGroupType. name - The name of the group. subject - The subject for which the assertions are defined. assertions - The assertions of this group, which are defined for subject.

Constructor
Represents a group of IAssertions with a certain type, a name, a subject and of course assertions.