satisfy
Asserts that selected properties satisfy a custom boolean condition.
open fun satisfy(description: String, assertion: (PropertyDeclarationContext, List<PropertyDeclarationContext>) -> Boolean): PropertiesRuleBuilder
Asserts that selected properties satisfy a custom boolean condition with description.
Asserts that selected properties satisfy custom description description.
open fun satisfy(id: String, description: String? = null, predicate: SatisfyContext<PropertyDeclarationContext>.(PropertyDeclarationContext) -> Boolean): PropertiesRuleBuilder
Asserts that selected properties satisfy a custom predicate within a SatisfyContext block identified by id and optional description.
open fun satisfy(assertion: (PropertyDeclarationContext, MutableList<String>) -> Unit): PropertiesRuleBuilder
Asserts that selected properties satisfy a custom violation-collecting assertion.