containOnlyFunctionsWithVisibility

Asserts that all top-level functions in matching files have one of the specified visibilities.