doc / ch.tutteli.atrium.creating / BaseCollectingAssertionPlant / subject

subject

abstract val subject: T

Overrides SubjectProvider.subject

The subject for which this plant will create Assertions or it throws a PlantHasNoSubjectException if absent.

Exceptions

PlantHasNoSubjectException - in case there was not a subject defined for this plant.