This needs to be stubbed in the same manner that's described by (https://github.com/puppetlabs/puppet/pull/2033/files#r8035320)