assertOnlyOneClassPerFile

fun List<FileDeclaration>.assertOnlyOneClassPerFile(additionalMessage: String? = null)

Asserts that files in this list contain at most one class.


fun KontureFileScope.assertOnlyOneClassPerFile(additionalMessage: String? = null)

Asserts that files in this scope contain at most one class.