class Shoulda::Matchers::Independent::DelegateMethodMatcher
def subject_has_delegating_method?
def subject_has_delegating_method? if expects_private_delegation? !subject.respond_to?(delegating_method) && subject.respond_to?(delegating_method, true) else subject.respond_to?(delegating_method) end end