it { is_expected.to run.with_params(1).and_raise_error(Puppet::ParseError) }
it { is_expected.to run.with_params('').and_return([]) }
it { is_expected.to run.with_params(['']).and_return([]) }
it { is_expected.to run.with_params(1).and_raise_error(Puppet::ParseError) }
it { is_expected.to run.with_params('').and_return([]) }
it { is_expected.to run.with_params(['']).and_return([]) }