atrium-core-impl-robstoll-lib / ch.tutteli.atrium.checking / FeatureAssertionChecker / <init>

<init>

FeatureAssertionChecker(subjectPlant: AssertionPlant<T>)

An AssertionChecker useful for feature assertions. It creates an AssertionGroup of type FeatureAssertionGroupType, adds the given assertions to it and finally adds the group to the given subjectPlant.

Parameters

subjectPlant - The plant which holds the assertions of the subject of the feature. For instance, if the feature is Person::name then subjectPlant holds the assertions for the corresponding Person.

Constructor
An AssertionChecker useful for feature assertions. It creates an AssertionGroup of type FeatureAssertionGroupType, adds the given assertions to it and finally adds the group to the given subjectPlant.