Depends on which acceptance testing tool is in use...
# puppet
c
Depends on which acceptance testing tool is in use. For serverspec, that'd be a test against a user resource: https://serverspec.org/resource_types.html#user