# File lib/rspec-puppet/matchers/type_matchers.rb, line 102
      def match_default_provider(resource)
        if @exp_provider
          if resource[:provider] == @exp_provider
            return true
          else
            @errors.push("Expected provider: #{@exp_provider} does not match: #{resource[:provider]}")
            return false
          end
        else
          return true
        end
      end