haveVisibility

fun haveVisibility(visibility: Visibility)

Asserts that all classes in the selector have the specified visibility.