constraintName

What the constraint was called, or null when it was declared without a name.

Example 1: name the rule that expects nothing

cause.shouldBeInstanceOf<KatachiKonsistNoExpectationException>().constraintName shouldBe "Internal only"