setupValidationRules

fun <T : Comparable<T>> setupValidationRules(minBound: T, maxBound: T, minValueProvider: () -> T?, maxValueProvider: () -> T?)