abstract fun createAndAddAssertionToPlant(parameterObject: AnyTypeTransformation.ParameterObject<S, T>): Unit
Creates the failing assertion and adds it to the ParameterObject.subjectPlant.
Typically it uses createFailingAssertion to create the failing assertion and augments it with collected assertions or such.
parameterObject
- The ParameterObject containing inter alia ParameterObject.assertionCreator, the
lambda which could have created subsequent assertions for the transformed AssertionPlant.subject.
AssertionError
- Might throw an AssertionError depending on the ParameterObject.subjectPlant.