class Collector
Collector(throwIfNoAssertionIsCollected: Boolean) |
fun <E : Any> collectAssertionsForExplanation(noSubjectMessage: String, warning: ITranslatable, assertionCreator: IAssertionPlant<E>.() -> Unit, subject: E?): List<IAssertion>
Collects the IAssertion created by assertionCreator and uses the given subject as ICollectingAssertionPlant.subject if not null. |