containOnlyClassesWithVisibility

Asserts that all classes in matching modules have one of the specified visibilities.