doc / ch.tutteli.atrium.assertions.basic.contains.builders / validateAtMost

validateAtMost

fun validateAtMost(times: Int, nameAtMostFun: String, nameAtLeastFun: String, nameExactlyFun: String): Unit

Validates that times is not 1; throws an IllegalArgumentException otherwise, pointing the user to use the given nameExactlyFun instead of the given nameAtMostFun.