doc / ch.tutteli.atrium.creating / AssertionCollector

AssertionCollector

object AssertionCollector

Types

Collector

class Collector

Properties

doNotThrowIfNoAssertionIsCollected

val doNotThrowIfNoAssertionIsCollected: Collector

Choosing this option will ignore use cases where not a single IAssertion was collected.

throwIfNoAssertionIsCollected

val throwIfNoAssertionIsCollected: Collector

Choosing this option causes the AssertionCollector to throw an IllegalArgumentException in case not a single IAssertion was collected.