class Shoulda::Matchers::ActionController::PermitMatcher::ParametersDoubleRegistry

def self.permitted_parameter_names_within(double_collection)

def self.permitted_parameter_names_within(double_collection)
  double_collection.calls_to(:permit).map(&:args).flatten
end