containOnlyPropertiesWithVisibility

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